cmd/k8s-operator: fix typo (#12217)

Fixes#cleanup

Signed-off-by: Irbe Krumina <irbe@tailscale.com>
pull/12219/head
Irbe Krumina 6 months ago committed by GitHub
parent 9351eec3e1
commit 72f0f53ed0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -161,7 +161,7 @@ func (a *ServiceReconciler) maybeProvision(ctx context.Context, logger *zap.Suga
} }
if violations := validateService(svc); len(violations) > 0 { if violations := validateService(svc); len(violations) > 0 {
msg := fmt.Sprintf("unable to provision proxy resources: invalid Service: %s", strings.Join(violations, ", ")) msg := fmt.Sprintf("unable to provision proxy resources: invalid Service: %s", strings.Join(violations, ", "))
a.recorder.Event(svc, corev1.EventTypeWarning, "INVALIDSERVCICE", msg) a.recorder.Event(svc, corev1.EventTypeWarning, "INVALIDSERVICE", msg)
a.logger.Error(msg) a.logger.Error(msg)
return nil return nil
} }

Loading…
Cancel
Save