mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-20 01:01:22 +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)
|
||||
}
|
||||
|
||||
ctx = klog.NewContext(ctx, logger)
|
||||
seLinuxController, err :=
|
||||
selinuxwarning.NewController(
|
||||
ctx,
|
||||
|
Loading…
Reference in New Issue
Block a user