Skip to content

Commit

Permalink
🐛 remove path annotation from heredoc generated resources
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinemartin committed Feb 6, 2023
1 parent 1c036b1 commit 118d32d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ func TransferAnnotations(list []*yaml.RNode, config *yaml.RNode) (err error) {
}
delete(annotations, FunctionAnnotationInjectLocal)
delete(annotations, FunctionAnnotationFunction)
delete(annotations, FunctionAnnotationPath)
delete(annotations, FunctionAnnotationIndex)
r.SetAnnotations(annotations)
}
return
Expand Down

0 comments on commit 118d32d

Please sign in to comment.