From 2581107c599af5470fad5e0f5f441944851aa4b1 Mon Sep 17 00:00:00 2001 From: anlicheng <244108715@qq.com> Date: Fri, 19 Sep 2025 11:40:56 +0800 Subject: [PATCH] fix --- apps/iot/src/http_handlers/container_handler.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/iot/src/http_handlers/container_handler.erl b/apps/iot/src/http_handlers/container_handler.erl index fa1439e..4dd7ea4 100644 --- a/apps/iot/src/http_handlers/container_handler.erl +++ b/apps/iot/src/http_handlers/container_handler.erl @@ -16,7 +16,7 @@ %% 下发config.json, 微服务接受后,保存服务配置 handle_request("POST", "/container/push_config", _, #{<<"uuid">> := UUID, <<"container_name">> := ContainerName, <<"config">> := Config, <<"timeout">> := Timeout0}) - when is_binary(UUID), is_binary(ContainerName), is_map(Config), is_integer(Timeout0) -> + when is_binary(UUID), is_binary(ContainerName), is_binary(Config), is_integer(Timeout0) -> %% 检查ConfigJson是否是合法的json字符串 true = iot_util:is_json(Config),