Fix data type of mountpoint from string to binary

This commit is contained in:
Frank 2019-01-08 10:14:48 +08:00 committed by Feng Lee
parent dee88fb018
commit 981d785c06
1 changed files with 2 additions and 0 deletions

View File

@ -861,6 +861,8 @@ end}.
maps:put(iolist_to_binary(Topic), P, Acc)
end, string:tokens(Val, ","))
end;
("mountpoint", Val) ->
{mountpoint, iolist_to_binary(Val)};
(Opt, Val) ->
{list_to_atom(Opt), Val}
end,