Skip to content

Commit 3b2c6ac

Browse files
author
Kate Osborn
committed
Fix comment
1 parent 8c8f66a commit 3b2c6ac

File tree

1 file changed

+1
-1
lines changed
  • internal/mode/static/nginx/config/policies/upstreamsettings

1 file changed

+1
-1
lines changed

internal/mode/static/nginx/config/policies/upstreamsettings/validator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ func (v Validator) Validate(policy policies.Policy, _ *policies.GlobalSettings)
4646
return nil
4747
}
4848

49-
// Conflicts returns true if the two ClientSettingsPolicies conflict.
49+
// Conflicts returns true if the two UpstreamsSettingsPolicies conflict.
5050
func (v Validator) Conflicts(polA, polB policies.Policy) bool {
5151
cspA := helpers.MustCastObject[*ngfAPI.UpstreamSettingsPolicy](polA)
5252
cspB := helpers.MustCastObject[*ngfAPI.UpstreamSettingsPolicy](polB)

0 commit comments

Comments
 (0)