File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ type Mesh struct {
45
45
//
46
46
// Connect is only used for testing to ensure DERPs are meshed before
47
47
// exchanging messages.
48
+ // nolint:revive
48
49
func (m * Mesh ) SetAddresses (addresses []string , connect bool ) {
49
50
total := make (map [string ]struct {}, 0 )
50
51
for _ , address := range addresses {
@@ -88,6 +89,7 @@ func (m *Mesh) SetAddresses(addresses []string, connect bool) {
88
89
// addAddress begins meshing with a new address. It returns false if the address is already being meshed with.
89
90
// It's expected that this is a full HTTP address with a path.
90
91
// e.g. http://127.0.0.1:8080/derp
92
+ // nolint:revive
91
93
func (m * Mesh ) addAddress (address string , connect bool ) (bool , error ) {
92
94
m .mutex .Lock ()
93
95
defer m .mutex .Unlock ()
You can’t perform that action at this time.
0 commit comments