fix panic in provider server while onboarding #4933
ocs-operator-ci.yaml
on: pull_request
Matrix: go test
Matrix: golangci-lint
Matrix: verify generated changes
Annotations
12 errors and 2 warnings
golangci-lint (1.22):
services/provider/main.go#L10
could not import github.com/red-hat-storage/ocs-operator/v4/services/provider/server (-: # github.com/red-hat-storage/ocs-operator/v4/services/provider/server
|
golangci-lint (1.22):
services/provider/server/consumer.go#L79
invalid operation: storageQuotaInGiB != nil (mismatched types int and untyped nil)
|
golangci-lint (1.22):
services/provider/server/consumer.go#L80
invalid operation: cannot indirect storageQuotaInGiB (variable of type int)) (typecheck)
|
golangci-lint (1.22):
controllers/storagecluster/provider_server.go#L25
could not import github.com/red-hat-storage/ocs-operator/v4/services/provider/server (-: # github.com/red-hat-storage/ocs-operator/v4/services/provider/server
|
golangci-lint (1.22):
services/provider/server/consumer.go#L79
invalid operation: storageQuotaInGiB != nil (mismatched types int and untyped nil)
|
golangci-lint (1.22):
services/provider/server/consumer.go#L80
invalid operation: cannot indirect storageQuotaInGiB (variable of type int)) (typecheck)
|
golangci-lint (1.22):
services/provider/server/consumer.go#L79
invalid operation: storageQuotaInGiB != nil (mismatched types int and untyped nil)
|
golangci-lint (1.22):
services/provider/server/consumer.go#L80
invalid operation: cannot indirect storageQuotaInGiB (variable of type int) (typecheck)
|
golangci-lint (1.22)
issues found
|
go test (1.22):
services/provider/server/consumer.go#L79
invalid operation: storageQuotaInGiB != nil (mismatched types int and untyped nil)
|
go test (1.22):
services/provider/server/consumer.go#L80
invalid operation: cannot indirect storageQuotaInGiB (variable of type int)
|
go test (1.22)
Process completed with exit code 2.
|
go test (1.22)
Restore cache failed: Dependencies file is not found in /home/runner/work/ocs-operator/ocs-operator. Supported file pattern: go.sum
|
verify generated changes (1.22)
Restore cache failed: Dependencies file is not found in /home/runner/work/ocs-operator/ocs-operator. Supported file pattern: go.sum
|