Make minion printing prettier; standardize on MinionList.Items like the other list types.

This commit is contained in:
Daniel Smith
2014-06-24 14:58:45 -07:00
parent c12a3773f5
commit 2cc038298b
4 changed files with 24 additions and 3 deletions

View File

@@ -186,7 +186,7 @@ type Minion struct {
// A list of minions.
type MinionList struct {
JSONBase `json:",inline" yaml:",inline"`
Minions []Minion `json:"minions,omitempty" yaml:"minions,omitempty"`
Items []Minion `json:"minions,omitempty" yaml:"minions,omitempty"`
}
// Status is a return value for calls that don't return other objects.