Change default internal-rules to #{}
This commit is contained in:
parent
2912d9a41b
commit
749494c277
|
@ -61,7 +61,7 @@ load_rules_from_file(AclFile) ->
|
||||||
subscribe => lists:filter(fun(Rule) -> filter(subscribe, Rule) end, Rules)};
|
subscribe => lists:filter(fun(Rule) -> filter(subscribe, Rule) end, Rules)};
|
||||||
{error, Reason} ->
|
{error, Reason} ->
|
||||||
?LOG(error, "[ACL_INTERNAL] Failed to read ~s: ~p", [AclFile, Reason]),
|
?LOG(error, "[ACL_INTERNAL] Failed to read ~s: ~p", [AclFile, Reason]),
|
||||||
[]
|
#{}
|
||||||
end.
|
end.
|
||||||
|
|
||||||
filter(_PubSub, {allow, all}) ->
|
filter(_PubSub, {allow, all}) ->
|
||||||
|
|
Loading…
Reference in New Issue