chore: update code comment
This commit is contained in:
parent
dc8f0c5101
commit
537ff30550
|
@ -105,8 +105,12 @@ select_union_member(Value, _Providers) ->
|
||||||
throw(#{reason => "not_a_struct", value => Value}).
|
throw(#{reason => "not_a_struct", value => Value}).
|
||||||
|
|
||||||
try_select_union_member(Module, Value) ->
|
try_select_union_member(Module, Value) ->
|
||||||
%% some modules have union_member_selector/1 exported to help selectin the sub-types
|
%% some modules have `union_member_selector/1' exported to help selecting
|
||||||
%% emqx_authn_http, emqx_authn_jwt, emqx_authn_mongodb and emqx_authn_redis
|
%% the sub-types, they are:
|
||||||
|
%% emqx_authn_http
|
||||||
|
%% emqx_authn_jwt
|
||||||
|
%% emqx_authn_mongodb
|
||||||
|
%% emqx_authn_redis
|
||||||
try
|
try
|
||||||
Module:union_member_selector({value, Value})
|
Module:union_member_selector({value, Value})
|
||||||
catch
|
catch
|
||||||
|
|
Loading…
Reference in New Issue