mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-21 01:26:28 +00:00
Don't create a new controller context
This commit is contained in:
parent
4b99a342f4
commit
52b47ea4de
@ -915,7 +915,6 @@ func startSELinuxWarningController(ctx context.Context, controllerContext Contro
|
|||||||
return nil, true, fmt.Errorf("failed to probe volume plugins when starting SELinux warning controller: %w", err)
|
return nil, true, fmt.Errorf("failed to probe volume plugins when starting SELinux warning controller: %w", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
ctx = klog.NewContext(ctx, logger)
|
|
||||||
seLinuxController, err :=
|
seLinuxController, err :=
|
||||||
selinuxwarning.NewController(
|
selinuxwarning.NewController(
|
||||||
ctx,
|
ctx,
|
||||||
|
Loading…
Reference in New Issue
Block a user