Merge pull request #90925 from gaurav1086/fix_namespace_datarace

Fix data race in namespace error handling
This commit is contained in:
Kubernetes Prow Robot 2020-05-11 15:22:58 -07:00 committed by GitHub
commit f553458bbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,8 +39,6 @@ import (
)
func extinguish(f *framework.Framework, totalNS int, maxAllowedAfterDel int, maxSeconds int) {
var err error
ginkgo.By("Creating testing namespaces")
wg := &sync.WaitGroup{}
wg.Add(totalNS)