Remove whitespace
Signed-off-by: gotjosh <josue@grafana.com>
This commit is contained in:
parent
d0406d6295
commit
473cf4e8f7
|
@ -536,7 +536,6 @@ func (p *Peer) peerUpdate(n *memberlist.Node) {
|
||||||
// AddState adds a new state that will be gossiped. It returns a channel to which
|
// AddState adds a new state that will be gossiped. It returns a channel to which
|
||||||
// broadcast messages for the state can be sent.
|
// broadcast messages for the state can be sent.
|
||||||
func (p *Peer) AddState(key string, s State, reg prometheus.Registerer) ClusterChannel {
|
func (p *Peer) AddState(key string, s State, reg prometheus.Registerer) ClusterChannel {
|
||||||
|
|
||||||
p.mtx.Lock()
|
p.mtx.Lock()
|
||||||
p.states[key] = s
|
p.states[key] = s
|
||||||
p.mtx.Unlock()
|
p.mtx.Unlock()
|
||||||
|
|
Loading…
Reference in New Issue