Skip to content

Commit 5cffc67

Browse files
committed
lint: multihost.go empty val
1 parent 47e8d30 commit 5cffc67

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

intra/ipn/multihost/map.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ func (m *MHMap) Endpoints() (all []string) {
4646

4747
m.RLock()
4848
defer m.RUnlock()
49-
for n, _ := range m.byHostport {
49+
for n := range m.byHostport {
5050
all = append(all, n)
5151
}
5252
if len(all) <= 0 {
53-
for ipp, _ := range m.byIpp {
53+
for ipp := range m.byIpp {
5454
all = append(all, ipp.String())
5555
}
5656
}

0 commit comments

Comments
 (0)