Skip to content

Commit bbb9aea

Browse files
rabbit_shovel_operating_mode: coerce returned value to an atom
1 parent c68ea37 commit bbb9aea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/rabbitmq_shovel/src/rabbit_shovel_operating_mode.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@
2121

2222
-spec operating_mode() -> operating_mode().
2323
operating_mode() ->
24-
application:get_env(?SHOVEL_APP, operating_mode, standard).
24+
rabbit_data_coercion:to_atom(application:get_env(?SHOVEL_APP, operating_mode, standard)).

0 commit comments

Comments
 (0)