Change the variable name from _Else to Else
diff --git a/src/config.erl b/src/config.erl
index 1feed6b..7970a10 100644
--- a/src/config.erl
+++ b/src/config.erl
@@ -266,8 +266,8 @@
Event = {config_change, Sec, Key, Val, Persist},
gen_event:sync_notify(config_event, Event),
{reply, ok, Config};
- {error, _Else} ->
- {reply, {error, _Else}, Config}
+ {error, Else} ->
+ {reply, {error, Else}, Config}
end
end;
@@ -288,8 +288,8 @@
Event = {config_change, Sec, Key, deleted, Persist},
gen_event:sync_notify(config_event, Event),
{reply, ok, Config};
- _Else ->
- {reply, _Else, Config}
+ Else ->
+ {reply, Else, Config}
end;
handle_call(reload, _From, Config) ->
diff --git a/test/config_tests.erl b/test/config_tests.erl
index 6afb591..2b78798 100644
--- a/test/config_tests.erl
+++ b/test/config_tests.erl
@@ -299,7 +299,7 @@
config_access_right_test_() ->
{
- "Config file access right tests",
+ "Test config file access right",
{
foreach,
fun setup/0,