Skip to content

Commit

Permalink
Addressed import grouping
Browse files Browse the repository at this point in the history
Signed-off-by: Abhijit Mukherjee <abhijit.mukherjee@infracloud.io>
  • Loading branch information
mabhi committed Nov 21, 2023
1 parent 19aa585 commit cb5e7ba
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 9 deletions.
3 changes: 2 additions & 1 deletion pkg/blockstorage/azure/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ import (
"github.com/Azure/azure-sdk-for-go/sdk/azcore"
"github.com/Azure/azure-sdk-for-go/sdk/azcore/cloud"
"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
"github.com/kanisterio/kanister/pkg/blockstorage"
"github.com/pkg/errors"

"github.com/kanisterio/kanister/pkg/blockstorage"
)

const ActiveDirectory = "activeDirectory"
Expand Down
3 changes: 2 additions & 1 deletion pkg/blockstorage/azure/auth_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
package azure

import (
"github.com/kanisterio/kanister/pkg/blockstorage"
. "gopkg.in/check.v1"

"github.com/kanisterio/kanister/pkg/blockstorage"
)

type AuthSuite struct{}
Expand Down
3 changes: 1 addition & 2 deletions pkg/blockstorage/azure/azuredisk.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@ import (
"strings"
"time"

azto "github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v4"
"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armsubscriptions"

azto "github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
"github.com/Azure/azure-sdk-for-go/storage"
"github.com/gofrs/uuid"
"github.com/pkg/errors"
Expand Down
4 changes: 3 additions & 1 deletion pkg/blockstorage/azure/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,15 @@ package azure

import (
"context"

"github.com/Azure/azure-sdk-for-go/sdk/azcore"
"github.com/Azure/azure-sdk-for-go/sdk/azcore/cloud"
"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v4"
"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armsubscriptions"
"github.com/pkg/errors"

"github.com/kanisterio/kanister/pkg/blockstorage"
"github.com/kanisterio/kanister/pkg/log"
"github.com/pkg/errors"
)

// Client is a wrapper
Expand Down
8 changes: 5 additions & 3 deletions pkg/blockstorage/azure/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@ package azure
import (
"context"
"fmt"
"strings"
"testing"

"github.com/Azure/azure-sdk-for-go/sdk/azcore/cloud"
. "gopkg.in/check.v1"

"github.com/kanisterio/kanister/pkg/blockstorage"
envconfig "github.com/kanisterio/kanister/pkg/config"
. "gopkg.in/check.v1"
"strings"
"testing"
)

// Hook up gocheck into the "go test" runner.
Expand Down
3 changes: 2 additions & 1 deletion pkg/blockstorage/azure/environments.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ package azure

import (
"fmt"
"github.com/Azure/azure-sdk-for-go/sdk/azcore/cloud"
"strings"

"github.com/Azure/azure-sdk-for-go/sdk/azcore/cloud"
)

const (
Expand Down
1 change: 1 addition & 0 deletions pkg/blockstorage/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ package blockstorage

import (
"bytes"

azto "github.com/Azure/azure-sdk-for-go/sdk/azcore/to"

ktags "github.com/kanisterio/kanister/pkg/blockstorage/tags"
Expand Down

0 comments on commit cb5e7ba

Please sign in to comment.