Skip to content

Commit

Permalink
runner: ensure CRDs are properly labeled
Browse files Browse the repository at this point in the history
Signed-off-by: Hidde Beydals <[email protected]>
  • Loading branch information
hiddeco committed Sep 29, 2023
1 parent 39fd287 commit 2fc506d
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 2fc506d

Please sign in to comment.