Skip to content

Commit bb5b347

Browse files
committed
Fix linting
1 parent bd7fb13 commit bb5b347

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

enterprise/derpmesh/derpmesh.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ type Mesh struct {
4545
//
4646
// Connect is only used for testing to ensure DERPs are meshed before
4747
// exchanging messages.
48+
// nolint:revive
4849
func (m *Mesh) SetAddresses(addresses []string, connect bool) {
4950
total := make(map[string]struct{}, 0)
5051
for _, address := range addresses {
@@ -88,6 +89,7 @@ func (m *Mesh) SetAddresses(addresses []string, connect bool) {
8889
// addAddress begins meshing with a new address. It returns false if the address is already being meshed with.
8990
// It's expected that this is a full HTTP address with a path.
9091
// e.g. http://127.0.0.1:8080/derp
92+
// nolint:revive
9193
func (m *Mesh) addAddress(address string, connect bool) (bool, error) {
9294
m.mutex.Lock()
9395
defer m.mutex.Unlock()

0 commit comments

Comments
 (0)