Fixed "componentstatuses" API object JSON descriptions.

This commit is contained in:
Fabio Yeon
2015-04-20 16:49:16 -07:00
parent 78356bf7f9
commit 81ef0198f4
9 changed files with 31 additions and 30 deletions

View File

@@ -102,9 +102,9 @@ func (rs *REST) getComponentStatus(name string, server apiserver.Server) *api.Co
}
retVal := &api.ComponentStatus{
Name: name,
Conditions: []api.ComponentCondition{*c},
}
retVal.Name = name
return retVal
}