mirror of
https://github.com/kubernetes-sigs/descheduler.git
synced 2026-01-25 20:59:28 +01:00
fix: display ownerKey in the logs correctly
This commit is contained in:
@@ -57,6 +57,10 @@ type podOwner struct {
|
||||
imagesHash string
|
||||
}
|
||||
|
||||
func (po podOwner) String() string {
|
||||
return fmt.Sprintf("%s/%s/%s/%s", po.namespace, po.kind, po.name, po.imagesHash)
|
||||
}
|
||||
|
||||
// New builds plugin from its arguments while passing a handle
|
||||
func New(args runtime.Object, handle frameworktypes.Handle) (frameworktypes.Plugin, error) {
|
||||
removeDuplicatesArgs, ok := args.(*RemoveDuplicatesArgs)
|
||||
|
||||
Reference in New Issue
Block a user