Skip to content

Commit 18c0464

Browse files
kylecarbscoadler
andauthored
Update enterprise/derpmesh/derpmesh.go
Co-authored-by: Colin Adler <colin1adler@gmail.com>
1 parent 09e87b0 commit 18c0464

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

enterprise/derpmesh/derpmesh.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ func (m *Mesh) SetAddresses(addresses []string) {
8282
m.mutex.Unlock()
8383
}
8484

85-
// addAddress begins meshing with a new address.
85+
// addAddress begins meshing with a new address. It returns false if the address is already being meshed with.
8686
// It's expected that this is a full HTTP address with a path.
8787
// e.g. http://127.0.0.1:8080/derp
8888
func (m *Mesh) addAddress(address string) (bool, error) {

0 commit comments

Comments
 (0)