Skip to content

Commit c7473c6

Browse files
authored
Merge pull request docker#9335 from ulyssessouza/remove-deadcode
Remove dead warning code
2 parents 5e63f12 + 60363c3 commit c7473c6

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

cmd/compose/compose.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,6 @@ func Adapt(fn Command) func(cmd *cobra.Command, args []string) error {
8989
})
9090
}
9191

92-
// Warning is a global warning to be displayed to user on command failure
93-
var Warning string
94-
9592
type projectOptions struct {
9693
ProjectName string
9794
Profiles []string

cmd/main.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,6 @@ import (
3232
"github.com/docker/compose/v2/pkg/compose"
3333
)
3434

35-
func init() {
36-
commands.Warning = "The new 'docker compose' command is currently experimental. " +
37-
"To provide feedback or request new features please open issues at https://github.com/docker/compose"
38-
}
39-
4035
func pluginMain() {
4136
plugin.Run(func(dockerCli command.Cli) *cobra.Command {
4237
lazyInit := api.NewServiceProxy()

0 commit comments

Comments
 (0)