Skip to content

Commit

Permalink
remove meta.Name in false output
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Pan <Peter.Pan@daocloud.io>
  • Loading branch information
panpan0000 committed Apr 21, 2024
1 parent 86189ba commit ef86003
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/util/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func GetParent(client *kubernetes.Client, meta metav1.ObjectMeta) (string, bool)
}
}
}
return meta.Name, false //should be return "", false ?
return "", false
}

func RemoveDuplicates(slice []string) ([]string, []string) {
Expand Down

0 comments on commit ef86003

Please sign in to comment.