Skip to content

Commit 96c1c29

Browse files
authored
Merge pull request #1281 from dimunech/fix-ownerkey-logs
fix: display ownerKey in the logs correctly
2 parents c4ab200 + 289c003 commit 96c1c29

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/framework/plugins/removeduplicates/removeduplicates.go

+4
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ type podOwner struct {
5757
imagesHash string
5858
}
5959

60+
func (po podOwner) String() string {
61+
return fmt.Sprintf("%s/%s/%s/%s", po.namespace, po.kind, po.name, po.imagesHash)
62+
}
63+
6064
// New builds plugin from its arguments while passing a handle
6165
func New(args runtime.Object, handle frameworktypes.Handle) (frameworktypes.Plugin, error) {
6266
removeDuplicatesArgs, ok := args.(*RemoveDuplicatesArgs)

0 commit comments

Comments
 (0)