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

@@ -89,7 +89,7 @@ func ServeImageOrFail(f *Framework, test string, image string) {
defer func() {
// Resize the replication controller to zero to get rid of pods.
By("Cleaning up the replication controller")
rcReaper, err := kubectl.ReaperFor("ReplicationController", f.Client)
rcReaper, err := kubectl.ReaperFor("ReplicationController", f.Client, nil)
if err != nil {
Logf("Failed to cleanup replication controller %v: %v.", controller.Name, err)
}