rabbit_shovel_operating_mode: coerce returned value to an atom
This commit is contained in:
parent
c68ea370d2
commit
bbb9aeaf0e
|
@ -21,4 +21,4 @@
|
|||
|
||||
-spec operating_mode() -> operating_mode().
|
||||
operating_mode() ->
|
||||
application:get_env(?SHOVEL_APP, operating_mode, standard).
|
||||
rabbit_data_coercion:to_atom(application:get_env(?SHOVEL_APP, operating_mode, standard)).
|
||||
|
|
Loading…
Reference in New Issue