Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

Commit

Permalink
remove unnecessary method thisNode()
Browse files Browse the repository at this point in the history
  • Loading branch information
replay committed Jan 4, 2018
1 parent db096fd commit dfa58d3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions cluster/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -471,10 +471,6 @@ func (m *SingleNodeManager) SetState(state NodeState) {
}

func (m *SingleNodeManager) ThisNode() Node {
return m.thisNode()
}

func (m *SingleNodeManager) thisNode() HTTPNode {
m.RLock()
defer m.RUnlock()
return m.node
Expand Down

0 comments on commit dfa58d3

Please sign in to comment.