Skip to content

Commit

Permalink
removed unwanted comment
Browse files Browse the repository at this point in the history
Signed-off-by: geoffrey1330 <israelgeoffrey13@gmail.com>
  • Loading branch information
geoffrey1330 committed Jun 15, 2023
1 parent 7e8f8a1 commit cb10bd3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions operator/webhooks/pod_mutator/pod_mutating_webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,6 @@ func (a *PodMutatingWebhook) Handle(ctx context.Context, req admission.Request)
return admission.PatchResponseFromRaw(req.Object.Raw, marshaledPod)
}

// PodMutatingWebhook implements admission.DecoderInjector.
// A decoder will be automatically injected.

func (a *PodMutatingWebhook) isPodAnnotated(pod *corev1.Pod) bool {
_, gotWorkloadAnnotation := getLabelOrAnnotation(&pod.ObjectMeta, apicommon.WorkloadAnnotation, apicommon.K8sRecommendedWorkloadAnnotations)
_, gotVersionAnnotation := getLabelOrAnnotation(&pod.ObjectMeta, apicommon.VersionAnnotation, apicommon.K8sRecommendedVersionAnnotations)
Expand Down

0 comments on commit cb10bd3

Please sign in to comment.