From 5c6622ab19868d46ad8116b9eb437242f3b4f7ea Mon Sep 17 00:00:00 2001 From: Arko Dasgupta Date: Thu, 5 Jan 2023 15:09:21 -0800 Subject: [PATCH] fix godoc for StringMatch Signed-off-by: Arko Dasgupta --- internal/ir/xds.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ir/xds.go b/internal/ir/xds.go index e0708c0eea3..9a1ea23ea0a 100644 --- a/internal/ir/xds.go +++ b/internal/ir/xds.go @@ -464,7 +464,7 @@ func (r HTTPPathModifier) Validate() error { } // StringMatch holds the various match conditions. -// Only one of Exact, Prefix or SafeRegex can be set. +// Only one of Exact, Prefix, SafeRegex or Distinct can be set. // +k8s:deepcopy-gen=true type StringMatch struct { // Name of the field to match on.