Throw an error if we try to use copy_conf in rtssh

This commit is contained in:
Nick Marino 2016-09-14 15:11:23 -04:00
parent 8f99422814
commit 8e5505d357

View File

@ -282,6 +282,9 @@ upgrade(Node, NewVersion, Config, _UpgradeCallback) ->
rt:wait_until_pingable(Node),
ok.
copy_conf(_, _, _) ->
throw({error, not_implemented}).
run_riak(Node, Cmd) ->
Exec = riakcmd(Node, Cmd),
lager:info("Running: ~s :: ~s", [get_host(Node), Exec]),