From 981d785c06e74798608161c35ead7ef3758c6b3d Mon Sep 17 00:00:00 2001 From: Frank Date: Tue, 8 Jan 2019 10:14:48 +0800 Subject: [PATCH] Fix data type of mountpoint from string to binary --- priv/emqx.schema | 2 ++ 1 file changed, 2 insertions(+) diff --git a/priv/emqx.schema b/priv/emqx.schema index 134931016..d568e6c66 100644 --- a/priv/emqx.schema +++ b/priv/emqx.schema @@ -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,