From 9ba81dd98023e4b467eea0bb5f19fb0602707fcc Mon Sep 17 00:00:00 2001 From: Lior Okman Date: Thu, 25 Jan 2024 15:58:46 +0200 Subject: [PATCH] Fix typo, make linter happy Signed-off-by: Lior Okman --- api/v1alpha1/clienttrafficpolicy_types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v1alpha1/clienttrafficpolicy_types.go b/api/v1alpha1/clienttrafficpolicy_types.go index 08567a46f00f..69b805f51adb 100644 --- a/api/v1alpha1/clienttrafficpolicy_types.go +++ b/api/v1alpha1/clienttrafficpolicy_types.go @@ -109,7 +109,7 @@ type HeaderSettings struct { // requested is Overwrite or AppendIfAbsent. Defaults to "envoy" if not specified. // // +optional - ServerName *string `json:"serverName,omitEmpty"` + ServerName *string `json:"serverName,omitempty"` // ServerHeaderTransformation defines how the Server header should be handled for // proxied traffic. Defaults to "Overwrite". //