Merge pull request #88735 from pancernik/plugin-args-api-improvements

Improve plugin args JSON tags
This commit is contained in:
Kubernetes Prow Robot
2020-03-02 14:51:06 -08:00
committed by GitHub
3 changed files with 5 additions and 5 deletions

View File

@@ -47,7 +47,7 @@ type Args struct {
// Labels are homogeneous for pods that are scheduled to a node.
// (i.e. it returns true IFF this pod can be added to this node such that all other pods in
// the same service are running on nodes with the exact same values for Labels).
AffinityLabels []string `json:"labels,omitempty"`
AffinityLabels []string `json:"affinityLabels,omitempty"`
// AntiAffinityLabelsPreference are the labels to consider for service anti affinity scoring.
AntiAffinityLabelsPreference []string `json:"antiAffinityLabelsPreference,omitempty"`
}