DS: kubectl changes

This commit is contained in:
foxish
2017-07-17 19:02:18 -07:00
committed by Anirudh
parent 14d5793869
commit ca38850ab1
5 changed files with 5 additions and 4 deletions

View File

@@ -58,7 +58,7 @@ func HistoryViewerFor(kind schema.GroupKind, c clientset.Interface) (HistoryView
return &DeploymentHistoryViewer{c}, nil
case apps.Kind("StatefulSet"):
return &StatefulSetHistoryViewer{c}, nil
case extensions.Kind("DaemonSet"):
case extensions.Kind("DaemonSet"), apps.Kind("DaemonSet"):
return &DaemonSetHistoryViewer{c}, nil
}
return nil, fmt.Errorf("no history viewer has been implemented for %q", kind)