Navigation Menu

Skip to content

Commit

Permalink
Normalize NodeName#role as a node role
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Apr 30, 2015
1 parent 1db4f30 commit aeded9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/droonga/engine_node.rb
Expand Up @@ -112,7 +112,7 @@ def bounce(message)

def role
if @state
@state["role"]
NodeRole.normalize(@state["role"])
else
NodeRole::SERVICE_PROVIDER
end
Expand Down

0 comments on commit aeded9f

Please sign in to comment.