DaemonSets adds a Status subresource

This commit is contained in:
derekwaynecarr
2015-09-24 22:51:09 -04:00
parent 6a04145362
commit aead9d3291
10 changed files with 179 additions and 22 deletions

View File

@@ -400,7 +400,7 @@ func storeDaemonSetStatus(dsClient client.DaemonSetInterface, ds *experimental.D
ds.Status.DesiredNumberScheduled = desiredNumberScheduled
ds.Status.CurrentNumberScheduled = currentNumberScheduled
ds.Status.NumberMisscheduled = numberMisscheduled
_, updateErr = dsClient.Update(ds)
_, updateErr = dsClient.UpdateStatus(ds)
if updateErr == nil {
// successful update
return nil