Tidied up redundant code in nimservice_webhook.go and nimcache_webhook.go #2227
Annotations
10 errors and 1 warning
|
internal/webhook/apps/v1alpha1/nimservice_webhook.go#L134
undefined: warningList
|
|
internal/webhook/apps/v1alpha1/nimservice_webhook.go#L131
undefined: warningList
|
|
internal/webhook/apps/v1alpha1/nimservice_webhook.go#L128
multiple-value validateDRAResourceImmutability(oldNIMService, newNIMService, field.NewPath("spec").Child("draResources")) (value of type (admission.Warnings, "k8s.io/apimachinery/pkg/util/validation/field".ErrorList)) in single-value context
|
|
internal/webhook/apps/v1alpha1/nimservice_webhook.go#L127
multiple-value validatePVCImmutability(oldNIMService, newNIMService, field.NewPath("spec").Child("storage").Child("pvc")) (value of type (admission.Warnings, "k8s.io/apimachinery/pkg/util/validation/field".ErrorList)) in single-value context
|
|
internal/webhook/apps/v1alpha1/nimservice_webhook.go#L126
multiple-value validateMultiNodeImmutability(oldNIMService, newNIMService, field.NewPath("spec").Child("multiNode")) (value of type (admission.Warnings, "k8s.io/apimachinery/pkg/util/validation/field".ErrorList)) in single-value context
|
|
internal/webhook/apps/v1alpha1/nimservice_webhook.go#L121
assignment mismatch: 1 variable but validateNIMServiceSpec returns 2 values
|
|
internal/webhook/apps/v1alpha1/nimcache_webhook.go#L109
undefined: warningList
|
|
internal/webhook/apps/v1alpha1/nimcache_webhook.go#L106
undefined: warningList
|
|
internal/webhook/apps/v1alpha1/nimcache_webhook.go#L102
undefined: warningList
|
|
internal/webhook/apps/v1alpha1/nimcache_webhook.go#L98
assignment mismatch: 1 variable but validateNIMCacheSpec returns 2 values
|
|
|
The logs for this run have expired and are no longer available.
Loading