Skip to content

Commit d12b871

Browse files
Update internal/configs/annotations.go
Co-authored-by: Copilot <[email protected]> Signed-off-by: mohamad_al <[email protected]>
1 parent 66c8807 commit d12b871

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

internal/configs/annotations.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -478,9 +478,9 @@ func parseRateLimitAnnotations(annotations map[string]string, cfgParams *ConfigP
478478

479479
if hasRateLimitAnnotation {
480480
mandatoryAnnotations := []string{
481-
"nginx.org/limit-req-rate",
482-
"nginx.org/limit-req-key",
483-
"nginx.org/limit-req-zone-size",
481+
LimitReqRateAnnotation,
482+
LimitReqKeyAnnotation,
483+
LimitReqZoneSizeAnnotation,
484484
}
485485

486486
for _, mandatory := range mandatoryAnnotations {

0 commit comments

Comments
 (0)