Merge pull request #280 from alanbernstein/snake-case-node

Snakify
This commit is contained in:
alanbernstein 2020-04-11 13:25:58 -05:00 committed by GitHub
commit 18d01dd62a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -382,7 +382,7 @@ func NewServer(opts ...ServerOption) (*Server, error) {
}
// Append the NodeID tag to stats.
s.holder.Stats = s.holder.Stats.WithTags(fmt.Sprintf("NodeID:%s", s.nodeID))
s.holder.Stats = s.holder.Stats.WithTags(fmt.Sprintf("node_id:%s", s.nodeID))
s.executor.Holder = s.holder
s.executor.Node = node