Skip to content

Commit

Permalink
lint again
Browse files Browse the repository at this point in the history
  • Loading branch information
motiejus committed Nov 21, 2024
1 parent ddb1370 commit c0c3833
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hscontrol/types/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -946,7 +946,7 @@ func isSafeServerURL(serverURL, baseDomain string) error {

s := len(serverDomainParts)
b := len(baseDomainParts)
for i := range 0..len(baseDomainParts) {
for i := range len(baseDomainParts) {
if serverDomainParts[s-i-1] != baseDomainParts[b-i-1] {
return nil
}
Expand Down

0 comments on commit c0c3833

Please sign in to comment.