From 7b169744a29be87857f10fdd77d6332d46e38be3 Mon Sep 17 00:00:00 2001 From: Chris Crone Date: Fri, 25 Sep 2020 14:27:50 +0200 Subject: [PATCH] cli: Sort main imports Signed-off-by: Chris Crone --- cli/main.go | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/cli/main.go b/cli/main.go index 3a526c4ff..54b0df55e 100644 --- a/cli/main.go +++ b/cli/main.go @@ -31,27 +31,27 @@ import ( "github.com/sirupsen/logrus" "github.com/spf13/cobra" - "github.com/docker/compose-cli/cli/cmd/compose" - "github.com/docker/compose-cli/cli/cmd/logout" - volume "github.com/docker/compose-cli/cli/cmd/volume" - "github.com/docker/compose-cli/errdefs" - - // Backend registrations - _ "github.com/docker/compose-cli/aci" "github.com/docker/compose-cli/cli/cmd" + "github.com/docker/compose-cli/cli/cmd/compose" contextcmd "github.com/docker/compose-cli/cli/cmd/context" "github.com/docker/compose-cli/cli/cmd/login" + "github.com/docker/compose-cli/cli/cmd/logout" "github.com/docker/compose-cli/cli/cmd/run" + volume "github.com/docker/compose-cli/cli/cmd/volume" "github.com/docker/compose-cli/cli/mobycli" cliopts "github.com/docker/compose-cli/cli/options" "github.com/docker/compose-cli/config" apicontext "github.com/docker/compose-cli/context" "github.com/docker/compose-cli/context/store" + "github.com/docker/compose-cli/errdefs" + "github.com/docker/compose-cli/metrics" + + // Backend registrations + _ "github.com/docker/compose-cli/aci" _ "github.com/docker/compose-cli/ecs" _ "github.com/docker/compose-cli/ecs/local" _ "github.com/docker/compose-cli/example" _ "github.com/docker/compose-cli/local" - "github.com/docker/compose-cli/metrics" ) var ( @@ -198,7 +198,7 @@ func main() { os.Exit(130) } if ctype == store.AwsContextType { - exit(root, currentContext, errors.Errorf(`%q context type has been renamed. Recreate the context by running: + exit(root, currentContext, errors.Errorf(`%q context type has been renamed. Recreate the context by running: $ docker context create %s `, cc.Type(), store.EcsContextType), ctype) }