From 9ca3350142c813a9859449874e78170ca5a48533 Mon Sep 17 00:00:00 2001 From: Macpie Date: Tue, 27 Feb 2024 15:23:54 -0800 Subject: [PATCH] Fix xref --- src/cli/hpr_cli_config.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/hpr_cli_config.erl b/src/cli/hpr_cli_config.erl index e62a8a82..a74fd597 100644 --- a/src/cli/hpr_cli_config.erl +++ b/src/cli/hpr_cli_config.erl @@ -245,7 +245,7 @@ config_route(_, _, _) -> config_route_refresh_all(["config", "route", "refresh_all"], [], Flags) -> Options = maps:from_list(Flags), - Min = maps:is_key(minimum, Options, 1), + Min = maps:get(minimum, Options, 1), erlang:spawn(fun() -> List = lists:filtermap( fun(RouteETS) ->