Skip to content

Commit

Permalink
mod_pubsub: Fix node configuration changes for SQL
Browse files Browse the repository at this point in the history
nodetree_tree_sql:set_node/1 returns {ok, NodeIdx} rather than 'ok' on
success.
  • Loading branch information
weiss committed Jun 5, 2016
1 parent 60803f5 commit 78d4200
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mod_pubsub.erl
Original file line number Diff line number Diff line change
Expand Up @@ -3873,6 +3873,7 @@ set_configure(Host, Node, From, Els, Lang) ->
set_node,
[N#pubsub_node{options = NewOpts}])
of
{ok, Nidx} -> {result, ok};
ok -> {result, ok};
Err -> Err
end;
Expand Down

0 comments on commit 78d4200

Please sign in to comment.