Fix backup post hook issue #9747
Annotations
10 errors and 2 warnings
Linter check:
internal/hook/parser_test.go#L167
unnecessary conversion (unconvert)
|
Linter check:
internal/hook/item_hook_handler.go#L54
const `podBackupHookContainerAnnotationKey` is unused (unused)
|
Linter check:
internal/hook/item_hook_handler.go#L55
const `podBackupHookCommandAnnotationKey` is unused (unused)
|
Linter check:
internal/hook/item_hook_handler.go#L56
const `podBackupHookOnErrorAnnotationKey` is unused (unused)
|
Linter check:
internal/hook/item_hook_handler.go#L57
const `podBackupHookTimeoutAnnotationKey` is unused (unused)
|
Linter check:
internal/hook/parser.go#L8
ST1019: package "github.com/vmware-tanzu/velero/pkg/apis/velero/v1" is being imported more than once (stylecheck)
|
Linter check:
internal/hook/parser.go#L9
ST1019(related information): other import of "github.com/vmware-tanzu/velero/pkg/apis/velero/v1" (stylecheck)
|
Linter check:
internal/hook/handler_test.go#L55
error-nil: use require.NoError (testifylint)
|
Linter check:
internal/hook/handler_test.go#L144
error-nil: use require.NoError (testifylint)
|
Linter check:
internal/hook/handler_test.go#L178
error-nil: use require.NoError (testifylint)
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Set up Go
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|
Loading