Migrate from ClusterPolicy to NVIDIADriver owned driver daemonsets #491
Annotations
9 errors and 1 warning
Lint:
controllers/nvidiadriver_controller.go#L210
`overriden` is a misspelling of `overridden` (misspell)
|
Lint:
controllers/nvidiadriver_controller.go#L567
S1002: should omit comparison to bool constant, can be simplified to `*clusterpolicy.Spec.Operator.UseOpenShiftDriverToolkit` (gosimple)
|
Lint:
controllers/nvidiadriver_controller.go#L471
S1009: should omit nil check; len() for []k8s.io/apimachinery/pkg/apis/meta/v1.OwnerReference is defined as zero (gosimple)
|
Lint:
controllers/nvidiadriver_controller.go#L507
S1009: should omit nil check; len() for map[string]string is defined as zero (gosimple)
|
Lint:
controllers/nvidiadriver_controller.go#L515
S1009: should omit nil check; len() for []k8s.io/apimachinery/pkg/apis/meta/v1.OwnerReference is defined as zero (gosimple)
|
Lint:
internal/validator/validator.go#L55
S1009: should omit nil check; len() for map[string]string is defined as zero (gosimple)
|
Lint:
internal/validator/validator.go#L72
S1009: should omit nil check; len() for map[string]string is defined as zero (gosimple)
|
Lint:
controllers/nvidiadriver_controller.go#L516
S1039: unnecessary use of fmt.Sprintf (gosimple)
|
Lint
issues found
|
Install Go
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|
Loading