Merge pull request #7074 from zmstone/chore-ensure-remsh-prefix-for-remote-node

chore: ensure remsh prefix for remote nodes
This commit is contained in:
Zaiming (Stone) Shi 2022-02-20 21:33:24 +01:00 committed by GitHub
commit e72c07c31e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -344,7 +344,7 @@ start_distribution(TargetNode, NameTypeArg, Cookie) ->
make_script_node(Node) ->
[Name, Host] = string:tokens(atom_to_list(Node), "@"),
list_to_atom(lists:concat([Name, "_upgrader_", os:getpid(), "@", Host])).
list_to_atom(lists:concat(["remsh_" ++ Name, "_upgrader_", os:getpid(), "@", Host])).
%% get name type from arg
get_name_type(NameTypeArg) ->