fix: 修复module中configs label格式不正确

This commit is contained in:
tanghao
2021-06-03 11:31:16 +08:00
parent 39e415c491
commit 4deff29620

View File

@@ -176,7 +176,7 @@ public class EndpointServiceImpl extends ServiceImpl<EndpointDao, Endpoint> impl
}
String labels = module.getLabels();
if(StrUtil.isNotBlank(labels)) {
configs.put("labels",labels);
configs.put("labels",JSON.parseObject(labels));
}
MonitorModule monitorModule = new MonitorModule();
monitorModule.setName(module.getName());