Explorar el Código

application:get_env/3 has different semantics than get_env/2

pull/284/head
John R. Daily hace 9 años
padre
commit
2f7f7b7dde
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      src/lager_app.erl

+ 1
- 1
src/lager_app.erl Ver fichero

@ -195,7 +195,7 @@ get_env(Application, Key, Default) ->
get_env_default(undefined, Default) ->
Default;
get_env_default(Value, _Default) ->
get_env_default({ok, Value}, _Default) ->
Value.
start(_StartType, _StartArgs) ->

Cargando…
Cancelar
Guardar