Update density.go

This commit is contained in:
Wojciech Tyczynski 2016-11-02 09:16:20 +01:00 committed by GitHub
parent 6e90106ded
commit 2e011d3097

View File

@ -630,6 +630,7 @@ var _ = framework.KubeDescribe("Density", func() {
By("Removing additional replication controllers")
deleteRC := func(i int) {
defer GinkgoRecover()
name := additionalPodsPrefix + "-" + strconv.Itoa(i+1)
framework.ExpectNoError(framework.DeleteRCAndWaitForGC(c, rcNameToNsMap[name], name))
}