Skip to content

Commit 90cc2f5

Browse files
authored
[Bug] add the return value check to pass linter (#1588)
Signed-off-by: Jiaxin Shan <[email protected]>
1 parent 9717cbe commit 90cc2f5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/integration/controller/suit_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ func TestAPIs(t *testing.T) {
8383
var _ = BeforeSuite(func() {
8484
// Initialize klog flags and set verbosity to 0 (suppress all info logs)
8585
klog.InitFlags(nil)
86-
flag.Set("v", "0")
87-
flag.Set("logtostderr", "false")
88-
flag.Set("alsologtostderr", "false")
86+
_ = flag.Set("v", "0")
87+
_ = flag.Set("logtostderr", "false")
88+
_ = flag.Set("alsologtostderr", "false")
8989

9090
// Configure controller-runtime logger to only show errors
9191
logf.SetLogger(zap.New(zap.WriteTo(GinkgoWriter), zap.UseDevMode(false)))

0 commit comments

Comments
 (0)