mirror of https://github.com/docker/compose.git
Merge pull request #9335 from ulyssessouza/remove-deadcode
Remove dead warning code
This commit is contained in:
commit
c7473c68ae
|
@ -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 {
|
type projectOptions struct {
|
||||||
ProjectName string
|
ProjectName string
|
||||||
Profiles []string
|
Profiles []string
|
||||||
|
|
|
@ -32,11 +32,6 @@ import (
|
||||||
"github.com/docker/compose/v2/pkg/compose"
|
"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() {
|
func pluginMain() {
|
||||||
plugin.Run(func(dockerCli command.Cli) *cobra.Command {
|
plugin.Run(func(dockerCli command.Cli) *cobra.Command {
|
||||||
lazyInit := api.NewServiceProxy()
|
lazyInit := api.NewServiceProxy()
|
||||||
|
|
Loading…
Reference in New Issue