mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 15:37:24 +00:00
Fixed "componentstatuses" API object JSON descriptions.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user