fix: make dialyzer happy
This commit is contained in:
parent
6798a26ecb
commit
5b60f6a5b2
|
@ -556,6 +556,7 @@ ensure_state(NameVsn, Position, State, ConfLocation) ->
|
||||||
fun() -> ensure_configured(Item, Position, ConfLocation) end
|
fun() -> ensure_configured(Item, Position, ConfLocation) end
|
||||||
);
|
);
|
||||||
{error, Reason} ->
|
{error, Reason} ->
|
||||||
|
?SLOG(error, #{msg => "ensure_plugin_states_failed", reason => Reason}),
|
||||||
{error, Reason}
|
{error, Reason}
|
||||||
end.
|
end.
|
||||||
|
|
||||||
|
@ -1133,7 +1134,7 @@ maybe_ensure_state(NameVsn) ->
|
||||||
case NV of
|
case NV of
|
||||||
NameVsn ->
|
NameVsn ->
|
||||||
%% Configured, using existed cluster config
|
%% Configured, using existed cluster config
|
||||||
ensure_state(NV, no_move, Bool, global),
|
_ = ensure_state(NV, no_move, Bool, global),
|
||||||
AccIn#{ensured => true};
|
AccIn#{ensured => true};
|
||||||
_ ->
|
_ ->
|
||||||
AccIn
|
AccIn
|
||||||
|
|
Loading…
Reference in New Issue