Skip to content

Commit

Permalink
chore: fix with the suggestion from the linter
Browse files Browse the repository at this point in the history
Signed-off-by: Kensei Nakada <handbomusic@gmail.com>
  • Loading branch information
sanposhiho committed Jan 10, 2025
1 parent d5901e5 commit faa9e21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/gatewayapi/securitypolicy.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ func (t *Translator) ProcessSecurityPolicies(securityPolicies []*egv1a1.Security
parentGateways,
t.GatewayControllerName,
policy.Generation,
status.Error2ConditionMsg(fmt.Errorf("Invalid SecurityPolicy: %w", err)),
status.Error2ConditionMsg(fmt.Errorf("invalid SecurityPolicy: %w", err)),
)

continue
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,4 +145,4 @@ securityPolicies:
cors:
allowOrigins:
- "http://*.example.com"
maxAge: 1000s
maxAge: 1000s

0 comments on commit faa9e21

Please sign in to comment.