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:
parent
12076f6183
commit
81ea5ba157
2 changed files with 3 additions and 3 deletions
|
@ -29,8 +29,6 @@ import (
|
||||||
var (
|
var (
|
||||||
kubeconfig string
|
kubeconfig string
|
||||||
serverIP string
|
serverIP string
|
||||||
cpu bool
|
|
||||||
memory bool
|
|
||||||
webhookTimeout int
|
webhookTimeout int
|
||||||
runValidationInMutatingWebhook string
|
runValidationInMutatingWebhook string
|
||||||
//TODO: this has been added to backward support command line arguments
|
//TODO: this has been added to backward support command line arguments
|
||||||
|
|
|
@ -272,7 +272,9 @@ func (wrc *WebhookRegistrationClient) removeResourceMutatingWebhookConfiguration
|
||||||
}
|
}
|
||||||
func (wrc *WebhookRegistrationClient) removeResourceValidatingWebhookConfiguration(wg *sync.WaitGroup) {
|
func (wrc *WebhookRegistrationClient) removeResourceValidatingWebhookConfiguration(wg *sync.WaitGroup) {
|
||||||
defer wg.Done()
|
defer wg.Done()
|
||||||
wrc.RemoveResourceValidatingWebhookConfiguration()
|
if err := wrc.RemoveResourceValidatingWebhookConfiguration(); err != nil {
|
||||||
|
glog.Error(err)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// delete policy mutating webhookconfigurations
|
// delete policy mutating webhookconfigurations
|
||||||
|
|
Loading…
Reference in a new issue