Skip to content

Commit 05d90aa

Browse files
committed
replace context.TODO with a context
Signed-off-by: Nir Rozenbaum <[email protected]>
1 parent 13b05ef commit 05d90aa

File tree

1 file changed

+1
-1
lines changed
  • pkg/epp/scheduling/framework/plugins/multi/prefix

1 file changed

+1
-1
lines changed

pkg/epp/scheduling/framework/plugins/multi/prefix/plugin.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ func New(ctx context.Context, config Config) *Plugin {
148148
capacity := config.LRUCapacityPerServer
149149
if capacity <= 0 {
150150
capacity = DefaultLRUCapacityPerServer
151-
log.FromContext(context.TODO()).V(logutil.DEFAULT).Info(
151+
log.FromContext(ctx).V(logutil.DEFAULT).Info(
152152
"LRUCapacityPerServer is not positive, using default value",
153153
"defaultCapacity", DefaultLRUCapacityPerServer,
154154
)

0 commit comments

Comments
 (0)