Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorres committed Jul 16, 2024
1 parent 3ece39e commit 9176665
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
3 changes: 1 addition & 2 deletions pkg/client/auth/credentials/iam_creds.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@ import (
"strings"
"sync"

"github.com/ydb-platform/ydb-go-sdk/v3/credentials"
yc "github.com/ydb-platform/ydb-go-yc"
"google.golang.org/grpc/metadata"

"github.com/ydb-platform/ydb-go-sdk/v3/credentials"
)

type iamCredsProvider struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/rolling/restarters/primitives.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
)

const (
DefaultMaxStaticNodeId = 50000
DefaultMaxStaticNodeId = 50000
)

func FilterStorageNodes(nodes []*Ydb_Maintenance.Node, maxStaticNodeId uint32) []*Ydb_Maintenance.Node {
Expand Down
3 changes: 2 additions & 1 deletion pkg/rolling/restarters/restarters_suite_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package restarters

import (
"testing"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"testing"
)

func TestRestart(t *testing.T) {
Expand Down
3 changes: 1 addition & 2 deletions pkg/rolling/restarters/storage_k8s_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import (

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"

"github.com/ydb-platform/ydbops/pkg/options"
"github.com/ydb-platform/ydbops/tests/mock"
)


var _ = Describe("Test storage k8s Filter", func() {
var (
now = time.Now()
Expand Down Expand Up @@ -61,5 +61,4 @@ var _ = Describe("Test storage k8s Filter", func() {
Expect(filteredNodeIds).Should(HaveKey(uint32(2)))
Expect(filteredNodeIds).Should(HaveKey(uint32(3)))
})

})
3 changes: 2 additions & 1 deletion pkg/rolling/restarters/storage_ssh_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ import (

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"go.uber.org/zap"

"github.com/ydb-platform/ydbops/pkg/options"
"github.com/ydb-platform/ydbops/tests/mock"
"go.uber.org/zap"
)

var _ = Describe("Test storage ssh Filter", func() {
Expand Down
1 change: 1 addition & 0 deletions pkg/rolling/restarters/tenant_k8s_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"

"github.com/ydb-platform/ydbops/pkg/options"
"github.com/ydb-platform/ydbops/tests/mock"
)
Expand Down

0 comments on commit 9176665

Please sign in to comment.