fix: clustertree bugs #30
Annotations
6 errors
pkg/clustertree/cluster-manager/cluster_controller.go#L69
field `mgr` is unused (unused)
|
pkg/clustertree/cluster-manager/controllers/pod/root_pod_controller.go#L6
File is not `gci`-ed with --skip-generated -s Standard -s Default -s Prefix(github.com/kosmos.io/kosmos) (gci)
|
pkg/clustertree/cluster-manager/controllers/pod/root_pod_controller.go#L10
File is not `goimports`-ed with -local github.com/kosmos.io/kosmos (goimports)
|
pkg/clustertree/cluster-manager/controllers/pod/root_pod_controller.go#L29
File is not `gci`-ed with --skip-generated -s Standard -s Default -s Prefix(github.com/kosmos.io/kosmos) (gci)
|
pkg/clustertree/cluster-manager/controllers/pod/root_pod_controller.go#L215
S1008: should use 'return strings.HasPrefix(p.Spec.NodeName, utils.KosmosNodePrefix)' instead of 'if !strings.HasPrefix(p.Spec.NodeName, utils.KosmosNodePrefix) { return false }; return true' (gosimple)
|
|
The logs for this run have expired and are no longer available.
Loading