From 76d8f5a8b485c22190ced18b0310ccfa4b1c962b Mon Sep 17 00:00:00 2001 From: Guillaume Tardif Date: Mon, 10 Aug 2020 14:36:05 +0200 Subject: [PATCH] More goimport changes --- aci/backend.go | 3 ++- aci/convert/convert_test.go | 5 +++-- example/backend.go | 3 ++- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/aci/backend.go b/aci/backend.go index 5b58940bd..1a28e9550 100644 --- a/aci/backend.go +++ b/aci/backend.go @@ -30,6 +30,8 @@ import ( "github.com/pkg/errors" "github.com/sirupsen/logrus" + ecstypes "github.com/docker/ecs-plugin/pkg/compose" + "github.com/docker/api/aci/convert" "github.com/docker/api/aci/login" "github.com/docker/api/backend" @@ -39,7 +41,6 @@ import ( "github.com/docker/api/context/cloud" "github.com/docker/api/context/store" "github.com/docker/api/errdefs" - ecstypes "github.com/docker/ecs-plugin/pkg/compose" ) const ( diff --git a/aci/convert/convert_test.go b/aci/convert/convert_test.go index c44c4e9a4..c802082fe 100644 --- a/aci/convert/convert_test.go +++ b/aci/convert/convert_test.go @@ -23,10 +23,11 @@ import ( "github.com/Azure/azure-sdk-for-go/profiles/latest/containerinstance/mgmt/containerinstance" "github.com/Azure/go-autorest/autorest/to" "github.com/compose-spec/compose-go/types" - "github.com/docker/api/containers" - "github.com/docker/api/context/store" "gotest.tools/v3/assert" is "gotest.tools/v3/assert/cmp" + + "github.com/docker/api/containers" + "github.com/docker/api/context/store" ) var convertCtx = store.AciContext{ diff --git a/example/backend.go b/example/backend.go index 5c4d05e48..cf0240404 100644 --- a/example/backend.go +++ b/example/backend.go @@ -28,10 +28,11 @@ import ( "github.com/docker/api/context/cloud" "github.com/docker/api/errdefs" + ecstypes "github.com/docker/ecs-plugin/pkg/compose" + "github.com/docker/api/backend" "github.com/docker/api/compose" "github.com/docker/api/containers" - ecstypes "github.com/docker/ecs-plugin/pkg/compose" ) type apiService struct {