Add experimental API support to kubectl

This commit is contained in:
Muhammed Uluyol
2015-08-10 13:08:34 -07:00
parent 01807c1fac
commit fab367230f
16 changed files with 194 additions and 63 deletions

View File

@@ -190,7 +190,7 @@ func RCFromManifest(fileName string) *api.ReplicationController {
// StopRC stops the rc via kubectl's stop library
func StopRC(rc *api.ReplicationController, restClient *client.Client) error {
reaper, err := kubectl.ReaperFor("ReplicationController", restClient)
reaper, err := kubectl.ReaperFor("ReplicationController", restClient, nil)
if err != nil || reaper == nil {
return err
}