From bf54f571fb8b27e76ada4ca75137d96ce4211d60 Mon Sep 17 00:00:00 2001 From: JimMoen Date: Tue, 19 Apr 2022 16:47:44 +0800 Subject: [PATCH] style: erlfmt emqx_management --- apps/emqx_management/src/emqx_mgmt_api_configs.erl | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/apps/emqx_management/src/emqx_mgmt_api_configs.erl b/apps/emqx_management/src/emqx_mgmt_api_configs.erl index 4769d42f5..46012e755 100644 --- a/apps/emqx_management/src/emqx_mgmt_api_configs.erl +++ b/apps/emqx_management/src/emqx_mgmt_api_configs.erl @@ -105,9 +105,11 @@ schema("/configs_reset/:rootname") -> post => #{ tags => [conf], description => - <<"Reset the config entry specified by the query string parameter `conf_path`.
\n" - "- For a config entry that has default value, this resets it to the default value;\n" - "- For a config entry that has no default value, an error 400 will be returned">>, + << + "Reset the config entry specified by the query string parameter `conf_path`.
\n" + "- For a config entry that has default value, this resets it to the default value;\n" + "- For a config entry that has no default value, an error 400 will be returned" + >>, %% We only return "200" rather than the new configs that has been changed, as %% the schema of the changed configs is depends on the request parameter %% `conf_path`, it cannot be defined here.