mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-26 08:53:05 +00:00
lint again
This commit is contained in:
parent
ddb1370c73
commit
c0c383359f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue