Move cli/command/orchestrator to cli/command

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
Vincent Demeester
2017-12-04 09:53:03 +01:00
committed by Silvin Lubecki
parent f960d2d5f3
commit 0508c09494
3 changed files with 20 additions and 21 deletions

View File

@ -9,7 +9,6 @@ import (
"github.com/docker/cli/cli"
"github.com/docker/cli/cli/command"
"github.com/docker/cli/cli/command/orchestrator"
"github.com/docker/cli/templates"
"github.com/docker/docker/api/types"
"github.com/spf13/cobra"
@ -139,7 +138,7 @@ func runVersion(dockerCli *command.DockerCli, opts *versionOptions) error {
Os: runtime.GOOS,
Arch: runtime.GOARCH,
Experimental: dockerCli.ClientInfo().HasExperimental,
Orchestrator: string(orchestrator.GetOrchestrator(dockerCli)),
Orchestrator: string(command.GetOrchestrator(dockerCli)),
},
}
vd.Client.Platform.Name = cli.PlatformName