lint: format portal/discovery/mols.go
Lee Yunjin committed
Apr 21, 2026 at 21:09 UTC
cb0ead418c323f407a876a3673ef899eee59d673
1 file changed
+6
-2
portal/discovery/mols.go
+6
-2
@@ -276,8 +276,12 @@ func (p MOLSRelayPolicy) SelectPriority(states []RelayState, clientState ClientS
276
return items[i].conf
277
}
278
if items[i].rtt != items[j].rtt {
279
- if items[i].rtt == 0 { return false }
280
- if items[j].rtt == 0 { return true }
279
+ if items[i].rtt == 0 {
280
+ return false
281
+ }
282
+ if items[j].rtt == 0 {
283
+ return true
284
+ }
285
return items[i].rtt < items[j].rtt
286
}
287
return items[i].url < items[j].url