Adding validating admission webhooks for NIMService/NIMCache with Helm deployment updates #1851
Annotations
14 errors and 3 warnings
|
check:
internal/webhook/apps/v1alpha1/nimcache_webhook_validation_helper.go#L5
File is not properly formatted (goimports)
|
|
check:
internal/webhook/apps/v1alpha1/nimcache_webhook.go#L108
Comment should end in a period (godot)
|
|
check:
internal/webhook/apps/v1alpha1/nimcache_webhook.go#L90
Comment should end in a period (godot)
|
|
check:
internal/webhook/apps/v1alpha1/nimcache_webhook.go#L63
Comment should end in a period (godot)
|
|
check:
internal/webhook/apps/v1alpha1/nimservice_webhook_validation_helper.go#L57
captLocal: `NIMService' should not be capitalized (gocritic)
|
|
check:
internal/webhook/apps/v1alpha1/nimservice_webhook_validation_helper.go#L20
captLocal: `NIMService' should not be capitalized (gocritic)
|
|
check:
internal/webhook/apps/v1alpha1/nimcache_webhook_validation_helper.go#L29
captLocal: `NGCSource' should not be capitalized (gocritic)
|
|
check:
internal/webhook/apps/v1alpha1/nimservice_webhook.go#L170
type assertion must be checked (forcetypeassert)
|
|
check:
internal/webhook/apps/v1alpha1/nimcache_webhook.go#L100
type assertion must be checked (forcetypeassert)
|
|
check:
internal/webhook/apps/v1alpha1/nimcache_webhook.go#L99
type assertion must be checked (forcetypeassert)
|
|
Unit test
Process completed with exit code 2.
|
|
Unit test:
internal/webhook/apps/v1alpha1/nimservice_webhook_validation_helper.go#L81
fmt.Errorf format %q has arg dra.ResourceClaimName of wrong type *string
|
|
Build
Process completed with exit code 2.
|
|
Build:
internal/webhook/apps/v1alpha1/nimservice_webhook_validation_helper.go#L81
fmt.Errorf format %q has arg dra.ResourceClaimName of wrong type *string
|
|
check
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|
|
Unit test
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|
|
Build
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|