Browse Source

More goimport changes

Guillaume Tardif 5 years ago
parent
commit
76d8f5a8b4
3 changed files with 7 additions and 4 deletions
  1. 2 1
      aci/backend.go
  2. 3 2
      aci/convert/convert_test.go
  3. 2 1
      example/backend.go

+ 2 - 1
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 (

+ 3 - 2
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{

+ 2 - 1
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 {