Skip to content

Commit 201a74f

Browse files
committed
address comment
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>
1 parent 70ad63b commit 201a74f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/ir/xds.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ var (
5858
ErrHTTPPathModifierDoubleReplace = errors.New("redirect filter cannot have a path modifier that supplies more than one of fullPathReplace, prefixMatchReplace and regexMatchReplace")
5959
ErrHTTPPathModifierNoReplace = errors.New("redirect filter cannot have a path modifier that does not supply either fullPathReplace, prefixMatchReplace or regexMatchReplace")
6060
ErrHTTPPathRegexModifierNoSetting = errors.New("redirect filter cannot have a path modifier that does not supply either fullPathReplace, prefixMatchReplace or regexMatchReplace")
61-
ErrHTTPHostModifierDoubleReplace = errors.New("redirect filter cannot have a host modifier that supplies more than one of Hostname, Header, Backend and PathRegex")
61+
ErrHTTPHostModifierDoubleReplace = errors.New("url rewrite filter cannot have a host modifier that supplies more than one of Name, Header, Backend and PathRegex")
6262
ErrHTTPHostModifierEmptyPathRegex = errors.New("host modifier with a PathRegex must supply both a Pattern and a Substitution")
6363
ErrAddHeaderEmptyName = errors.New("header modifier filter cannot configure a header without a name to be added")
6464
ErrAddHeaderDuplicate = errors.New("header modifier filter attempts to add the same header more than once (case insensitive)")

0 commit comments

Comments
 (0)