Skip to content

Commit

Permalink
Merge pull request #781 from fluxcd/fix-crd-trace-labels
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddeco authored Sep 29, 2023
2 parents 39fd287 + 2fc506d commit ff03616
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/runner/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ func setOriginVisitor(namespace, name string) resource.VisitorFunc {
if err != nil {
return err
}
if err = mergeLabels(info.Object, originLabels(namespace, name)); err != nil {
if err = mergeLabels(info.Object, originLabels(name, namespace)); err != nil {
return fmt.Errorf(
"%s origin labels could not be updated: %s",
resourceString(info), err,
Expand Down

0 comments on commit ff03616

Please sign in to comment.