Skip to content

Commit 910299f

Browse files
committed
lint fixes (revive var-naming was not introduced in this PR)
Signed-off-by: Etai Lev Ran <elevran@gmail.com>
1 parent a1234dd commit 910299f

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

pkg/sidecar/proxy/proxy_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ import (
2727
"time"
2828

2929
"sigs.k8s.io/controller-runtime/pkg/log"
30-
ctrllog "sigs.k8s.io/controller-runtime/pkg/log"
3130
"sigs.k8s.io/controller-runtime/pkg/log/zap"
3231

3332
"github.com/llm-d/llm-d-inference-scheduler/pkg/common"
@@ -41,7 +40,7 @@ func newTestContext() context.Context {
4140
zap.WriteTo(GinkgoWriter),
4241
zap.UseDevMode(true),
4342
)
44-
ctrllog.SetLogger(logger)
43+
log.SetLogger(logger)
4544
ctx := context.Background()
4645
log.IntoContext(ctx, logger) // not strictly needed since we called SetLogger to set default
4746
return ctx

test/utils/network.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
// Package utils contains utilities for testing
2+
//
3+
//revive:disable:var-naming
24
package utils
35

6+
//revive:enable:var-naming
7+
48
import (
59
"net"
610
)

0 commit comments

Comments
 (0)