Skip to content

Commit 32a9a03

Browse files
Apply suggestions from code review
Co-authored-by: Paul Abel <[email protected]> Signed-off-by: mohamad_al <[email protected]>
1 parent 0c95004 commit 32a9a03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/apis/configuration/v1/types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,9 +294,9 @@ type Action struct {
294294

295295
// ActionRedirect defines a redirect in an Action.
296296
type ActionRedirect struct {
297-
// The URL to redirect the request to. Supported NGINX variables: $scheme , $http_x_forwarded_proto , $request_uri , $host. Variables must be enclosed in curly braces. For example: ${host}${request_uri}.
297+
// The URL to redirect the request to. Supported NGINX variables: $scheme, $http_x_forwarded_proto, $request_uri or $host. Variables must be enclosed in curly braces. For example: ${host}${request_uri}.
298298
URL string `json:"url"`
299-
// The status code of a redirect. The allowed values are: 301 , 302 , 307 , 308. The default is 301.
299+
// The status code of a redirect. The allowed values are: 301, 302, 307 or 308. The default is 301.
300300
Code int `json:"code"`
301301
}
302302

0 commit comments

Comments
 (0)