Skip to content

Commit

Permalink
Specify the behavior correctly when using supervisor2.
Browse files Browse the repository at this point in the history
Change-Id: I969ac058d1d51da66ea8a4e70976e953a7cbd39e
Reviewed-on: http://review.couchbase.org/52388
Reviewed-by: Artem Stemkovski <artem@couchbase.com>
Tested-by: Artem Stemkovski <artem@couchbase.com>
  • Loading branch information
aartamonau authored and vzasade committed Jun 25, 2015
1 parent 63baf33 commit 576649f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ns_server_nodes_sup.erl
Expand Up @@ -21,7 +21,7 @@

-include("ns_common.hrl").

-behaviour(supervisor).
-behaviour(supervisor2).

%% API
-export([start_link/0, start_couchdb_node/0]).
Expand Down
2 changes: 1 addition & 1 deletion src/ns_server_sup.erl
Expand Up @@ -15,7 +15,7 @@
%%
-module(ns_server_sup).

-behaviour(supervisor).
-behaviour(supervisor2).

-include("ns_common.hrl").

Expand Down

0 comments on commit 576649f

Please sign in to comment.