Skip to content

Commit 5e6c4dc

Browse files
committed
fix: lint
1 parent c1e9e43 commit 5e6c4dc

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.golangci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ linters-settings:
8484
excludes:
8585
- G101
8686
- G115
87+
- G601 # no longer actual since 1.22
8788
fieldalignment:
8889
# print struct with more effective memory layout or not, false by default
8990
suggest-new: true

tests/compatibility/compatibility_suite_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,8 +321,8 @@ var _ = AfterSuite(func() {
321321
Expect(err).NotTo(HaveOccurred())
322322
})
323323

324-
// This was the fastest way to implement restart without bringing rolling
325-
// restart to operator itself or using ydbops. If you read this and
324+
// This was the fastest way to implement restart without bringing rolling
325+
// restart to operator itself or using ydbops. If you read this and
326326
// operator already can do rolling restart natively, please rewrite
327327
// this function!
328328
func RestartPodsNoRollingRestart(

tests/test-utils/test-utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ func ExecuteSimpleTableE2ETest(podName, podNamespace, storageEndpoint string, da
219219
}
220220
output, _ := exec.Command("kubectl", args...).CombinedOutput()
221221
fmt.Println(string(output))
222-
}, Timeout, time.Second * 10).Should(Succeed())
222+
}, Timeout, time.Second*10).Should(Succeed())
223223

224224
argsInsert := []string{
225225
"-n", podNamespace,

0 commit comments

Comments
 (0)