Migrate from ClusterPolicy to NVIDIADriver owned driver daemonsets #491
ci.yaml
on: pull_request
Matrix: build-gpu-operator-validator
Matrix: build-gpu-operator
Annotations
10 errors and 4 warnings
unit tests
Process completed with exit code 2.
|
go-check:
controllers/nvidiadriver_controller.go#L210
`overriden` is a misspelling of `overridden` (misspell)
|
go-check:
controllers/nvidiadriver_controller.go#L567
S1002: should omit comparison to bool constant, can be simplified to `*clusterpolicy.Spec.Operator.UseOpenShiftDriverToolkit` (gosimple)
|
go-check:
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)
|
go-check:
controllers/nvidiadriver_controller.go#L507
S1009: should omit nil check; len() for map[string]string is defined as zero (gosimple)
|
go-check:
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)
|
go-check:
internal/validator/validator.go#L55
S1009: should omit nil check; len() for map[string]string is defined as zero (gosimple)
|
go-check:
internal/validator/validator.go#L72
S1009: should omit nil check; len() for map[string]string is defined as zero (gosimple)
|
go-check:
controllers/nvidiadriver_controller.go#L516
S1039: unnecessary use of fmt.Sprintf (gosimple)
|
go-check
issues found
|
validate-csv
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|
validate-helm-values
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|
unit tests
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|
go-check
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|