From 91904de4a1ae8076769daa918bd5b22e2c782515 Mon Sep 17 00:00:00 2001 From: Manuel de Brito Fontes Date: Tue, 7 Mar 2017 11:41:05 -0300 Subject: [PATCH] Fix RateLimit comment --- core/pkg/ingress/annotations/ratelimit/main.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/pkg/ingress/annotations/ratelimit/main.go b/core/pkg/ingress/annotations/ratelimit/main.go index f3ca328b7d..31850a90b7 100644 --- a/core/pkg/ingress/annotations/ratelimit/main.go +++ b/core/pkg/ingress/annotations/ratelimit/main.go @@ -36,10 +36,10 @@ const ( defSharedSize = 5 ) -// RateLimit returns rate limit configuration for an Ingress rule -// Is possible to limit the number of connections per IP address or -// connections per second. -// Note: Is possible to specify both limits +// RateLimit returns rate limit configuration for an Ingress rule limiting the +// number of connections per IP address and/or connections per second. +// If you both annotations are specified in a single Ingress rule, RPS limits +// takes precedence type RateLimit struct { // Connections indicates a limit with the number of connections per IP address Connections Zone `json:"connections"`