mirror of
https://gitee.com/jd-platform-opensource/jlog.git
synced 2024-11-29 18:38:06 +08:00
全面优化
This commit is contained in:
parent
166ee440df
commit
cbd7fc7c98
@ -54,8 +54,8 @@ public class CenterStarter {
|
||||
List<String> list = config.getList("workers");
|
||||
if(!list.contains(buildKey())){
|
||||
list.add(buildValue());
|
||||
config.putConfig("workers", JSON.toJSONString(list));
|
||||
}
|
||||
config.putConfig("workers", JSON.toJSONString(list));
|
||||
} catch (Exception e) {
|
||||
//do nothing
|
||||
e.printStackTrace();
|
||||
|
Loading…
Reference in New Issue
Block a user