1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00

253 fixing circle ci issues

This commit is contained in:
shravan 2020-01-24 23:40:05 +05:30
parent 12076f6183
commit 81ea5ba157
2 changed files with 3 additions and 3 deletions

View file

@ -29,8 +29,6 @@ import (
var (
kubeconfig string
serverIP string
cpu bool
memory bool
webhookTimeout int
runValidationInMutatingWebhook string
//TODO: this has been added to backward support command line arguments

View file

@ -272,7 +272,9 @@ func (wrc *WebhookRegistrationClient) removeResourceMutatingWebhookConfiguration
}
func (wrc *WebhookRegistrationClient) removeResourceValidatingWebhookConfiguration(wg *sync.WaitGroup) {
defer wg.Done()
wrc.RemoveResourceValidatingWebhookConfiguration()
if err := wrc.RemoveResourceValidatingWebhookConfiguration(); err != nil {
glog.Error(err)
}
}
// delete policy mutating webhookconfigurations