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

527 removed uneeded statements

This commit is contained in:
shravan 2020-02-26 07:36:19 +05:30
parent 8a12ea30d6
commit 2a9b6a8f69

View file

@ -1,7 +1,6 @@
package webhooks
import (
"log"
"time"
"github.com/golang/glog"
@ -57,9 +56,6 @@ func (ws *WebhookServer) HandleMutation(request *v1beta1.AdmissionRequest, resou
glog.V(2).Infof("Handling mutation for Kind=%s, Namespace=%s Name=%s UID=%s patchOperation=%s",
resource.GetKind(), resource.GetNamespace(), resource.GetName(), request.UID, request.Operation)
policyContext.Policy = policy
if resource.GetKind() == "Pod" {
log.Println("some")
}
engineResponse := engine.Mutate(policyContext)
engineResponses = append(engineResponses, engineResponse)
go ws.status.UpdateStatusWithMutateStats(engineResponse)