Automated cherry pick of #6696: More robust system Tier creation / update (#6696) #34318
Annotations
6 errors
Run golangci-lint:
pkg/apiserver/apiserver.go#L323
cannot use context (variable of type "k8s.io/apiserver/pkg/server".PostStartHookContext) as "context".Context value in argument to c.networkPolicyController.InitializeTiers: "k8s.io/apiserver/pkg/server".PostStartHookContext does not implement "context".Context (missing method Deadline) (typecheck)
|
Run golangci-lint:
cmd/antrea-controller/controller.go#L44
could not import antrea.io/antrea/pkg/apiserver (-: # antrea.io/antrea/pkg/apiserver
|
Run golangci-lint:
pkg/apiserver/apiserver.go#L323
cannot use context (variable of type "k8s.io/apiserver/pkg/server".PostStartHookContext) as "context".Context value in argument to c.networkPolicyController.InitializeTiers: "k8s.io/apiserver/pkg/server".PostStartHookContext does not implement "context".Context (missing method Deadline)) (typecheck)
|
Run golangci-lint:
pkg/agent/apiserver/apiserver.go#L49
could not import antrea.io/antrea/pkg/apiserver (-: # antrea.io/antrea/pkg/apiserver
|
Run golangci-lint:
pkg/apiserver/apiserver.go#L323
cannot use context (variable of type "k8s.io/apiserver/pkg/server".PostStartHookContext) as "context".Context value in argument to c.networkPolicyController.InitializeTiers: "k8s.io/apiserver/pkg/server".PostStartHookContext does not implement "context".Context (missing method Deadline)) (typecheck)
|
Run golangci-lint
Process completed with exit code 2.
|
Loading