Skip to content

Commit

Permalink
Skip kioutil.LegacyPathAnnotation error
Browse files Browse the repository at this point in the history
  • Loading branch information
efiacor committed Dec 12, 2024
1 parent 52dbc87 commit 0debf84
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/task/kio.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ func (w *packageWriter) Write(nodes []*yaml.RNode) error {
Writer: buf,
ClearAnnotations: []string{
kioutil.PathAnnotation,
//nolint:staticcheck
kioutil.LegacyPathAnnotation,
},
}
if err := bw.Write(nodes); err != nil {
Expand Down

0 comments on commit 0debf84

Please sign in to comment.