Fix incorrect tag in MinionList

This commit is contained in:
Daniel Smith
2014-08-28 19:39:42 -07:00
parent e30d229a34
commit a2b03ea93b
4 changed files with 101 additions and 2 deletions

View File

@@ -349,7 +349,10 @@ type Minion struct {
// MinionList is a list of minions.
type MinionList struct {
JSONBase `json:",inline" yaml:",inline"`
Items []Minion `json:"minions,omitempty" yaml:"minions,omitempty"`
// DEPRECATED: the below Minions is due to a naming mistake and
// will be replaced with Items in the future.
Minions []Minion `json:"minions,omitempty" yaml:"minions,omitempty"`
Items []Minion `json:"items,omitempty" yaml:"items,omitempty"`
}
// Binding is written by a scheduler to cause a pod to be bound to a host.