File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -28,24 +28,24 @@ import (
2828 " context"
2929 " log"
3030
31- " github.com/docker/cli/cli/command"
32- " github.com/docker/cli/cli/flags"
31+ " github.com/docker/cli/cli/command"
32+ " github.com/docker/cli/cli/flags"
3333 " github.com/docker/compose/v5/pkg/api"
3434 " github.com/docker/compose/v5/pkg/compose"
3535)
3636
3737func main () {
3838 ctx := context.Background ()
3939
40- dockerCLI , err := command.NewDockerCli ()
41- if err != nil {
42- log.Fatalf (" Failed to create docker CLI: %v " , err)
43- }
44- err = dockerCLI.Initialize (&flags.ClientOptions {})
45- if err != nil {
46- log.Fatalf (" Failed to initialize docker CLI: %v " , err)
47- }
48-
40+ dockerCLI , err := command.NewDockerCli ()
41+ if err != nil {
42+ log.Fatalf (" Failed to create docker CLI: %v " , err)
43+ }
44+ err = dockerCLI.Initialize (&flags.ClientOptions {})
45+ if err != nil {
46+ log.Fatalf (" Failed to initialize docker CLI: %v " , err)
47+ }
48+
4949 // Create a new Compose service instance
5050 service , err := compose.NewComposeService (dockerCLI)
5151 if err != nil {
You can’t perform that action at this time.
0 commit comments