Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ykadowak committed Feb 20, 2024
1 parent b3442b8 commit 207a2bc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pkg/index/job/readreplica/rotate/service/rotator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ func Test_parseReplicaID(t *testing.T) {
},
},
func() test {
wantId1 := "bar"
wantId2 := "baz"
wantID1 := "bar"
wantID2 := "baz"
mock := &k8s.ValdK8sClientMock{}

mock.On("LabelSelector", testify.Anything, testify.Anything, testify.Anything).Return(client.NewSelector(), nil)
Expand All @@ -144,14 +144,14 @@ func Test_parseReplicaID(t *testing.T) {
{
ObjectMeta: client.ObjectMeta{
Labels: map[string]string{
labelKey: wantId1,
labelKey: wantID1,
},
},
},
{
ObjectMeta: client.ObjectMeta{
Labels: map[string]string{
labelKey: wantId2,
labelKey: wantID2,
},
},
},
Expand All @@ -165,7 +165,7 @@ func Test_parseReplicaID(t *testing.T) {
c: mock,
},
want: want{
ids: []string{wantId1, wantId2},
ids: []string{wantID1, wantID2},
err: nil,
},
}
Expand Down

0 comments on commit 207a2bc

Please sign in to comment.