mirror of
https://github.com/kubernetes-sigs/descheduler.git
synced 2026-01-26 21:31:18 +01:00
Plugin args: tag arguments with omitempty to reduce the marshalled json size
This commit is contained in:
@@ -24,6 +24,6 @@ import (
|
||||
type RemoveDuplicatesArgs struct {
|
||||
metav1.TypeMeta `json:",inline"`
|
||||
|
||||
Namespaces *api.Namespaces `json:"namespaces"`
|
||||
ExcludeOwnerKinds []string `json:"excludeOwnerKinds"`
|
||||
Namespaces *api.Namespaces `json:"namespaces,omitempty"`
|
||||
ExcludeOwnerKinds []string `json:"excludeOwnerKinds,omitempty"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user