Skip to content

fix(dao): remove duplicate meta/v1 import in table.go#575

Closed
ykgoesdumb wants to merge 1 commit into
derailed:masterfrom
ykgoesdumb:fix-duplicate-metav1-import
Closed

fix(dao): remove duplicate meta/v1 import in table.go#575
ykgoesdumb wants to merge 1 commit into
derailed:masterfrom
ykgoesdumb:fix-duplicate-metav1-import

Conversation

@ykgoesdumb

Copy link
Copy Markdown

internal/dao/table.go imports k8s.io/apimachinery/pkg/apis/meta/v1 twice, once as metav1 and once as v1 (staticcheck ST1019). This drops the redundant v1 alias and uses metav1 consistently for IncludeObject.

No behavior change. Verified with go build ./..., go vet ./..., and staticcheck (the ST1019 warning on table.go is gone).

internal/dao/table.go imported k8s.io/apimachinery/pkg/apis/meta/v1
twice, as both metav1 and v1. Drop the redundant v1 alias and use
metav1 consistently (staticcheck ST1019).
@ykgoesdumb ykgoesdumb closed this Jun 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant