Skip to content

Adding validating admission webhooks for NIMService/NIMCache with Helm deployment updates #1851

Adding validating admission webhooks for NIMService/NIMCache with Helm deployment updates

Adding validating admission webhooks for NIMService/NIMCache with Helm deployment updates #1851

Triggered via pull request July 16, 2025 23:06
Status Failure
Total duration 3m 1s
Artifacts

golang.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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