mirror of
https://github.com/slackhq/nebula.git
synced 2025-12-06 02:30:57 -08:00
should be break not continue
This commit is contained in:
parent
a680ac29f5
commit
5d0d916fc9
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ func (lh *LightHouse) ValidateLHStaticEntries() error {
|
|||
for lhIP, _ := range lh.lighthouses {
|
||||
for ip, _ := range lh.staticList {
|
||||
if lhIP == ip {
|
||||
continue
|
||||
break
|
||||
}
|
||||
return fmt.Errorf("Lighthouse %s does not have a static_host_map entry", IntIp(lhIP))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue