mirror of
https://github.com/projectcapsule/capsule.git
synced 2026-08-19 04:26:45 +00:00
feat: fix typo in event message
This commit is contained in:
committed by
Dario Tranchitella
parent
7ca087cac5
commit
44acfaed86
@@ -62,7 +62,7 @@ func (r *handler) OnCreate(client client.Client, decoder *admission.Decoder, rec
|
||||
return admission.Errored(http.StatusBadRequest, err)
|
||||
}
|
||||
if tnt.IsFull() {
|
||||
recorder.Eventf(tnt, corev1.EventTypeWarning, "NamespaceQuotaExceded", "Namespace %s cannot be attached, quota exceededi for the current Tenant", ns.GetName())
|
||||
recorder.Eventf(tnt, corev1.EventTypeWarning, "NamespaceQuotaExceded", "Namespace %s cannot be attached, quota exceeded for the current Tenant", ns.GetName())
|
||||
|
||||
return admission.Denied(NewNamespaceQuotaExceededError().Error())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user