From 60363c36df36c0e1f8b05c93df954873f46c4b19 Mon Sep 17 00:00:00 2001 From: Ulysses Souza Date: Thu, 31 Mar 2022 16:42:04 +0200 Subject: [PATCH] Remove dead warning code Signed-off-by: Ulysses Souza --- cmd/compose/compose.go | 3 --- cmd/main.go | 5 ----- 2 files changed, 8 deletions(-) diff --git a/cmd/compose/compose.go b/cmd/compose/compose.go index 1e9bd088e..65168e319 100644 --- a/cmd/compose/compose.go +++ b/cmd/compose/compose.go @@ -89,9 +89,6 @@ func Adapt(fn Command) func(cmd *cobra.Command, args []string) error { }) } -// Warning is a global warning to be displayed to user on command failure -var Warning string - type projectOptions struct { ProjectName string Profiles []string diff --git a/cmd/main.go b/cmd/main.go index 9fde5e3f9..2325d975e 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -32,11 +32,6 @@ import ( "github.com/docker/compose/v2/pkg/compose" ) -func init() { - commands.Warning = "The new 'docker compose' command is currently experimental. " + - "To provide feedback or request new features please open issues at https://github.com/docker/compose" -} - func pluginMain() { plugin.Run(func(dockerCli command.Cli) *cobra.Command { lazyInit := api.NewServiceProxy()