fix cloning configuration last desc (#4697)
This commit is contained in:
parent
63513b44f2
commit
de23466363
@ -669,6 +669,7 @@ public class ConfigController {
|
|||||||
if (StringUtils.isNotBlank(ci.getAppName())) {
|
if (StringUtils.isNotBlank(ci.getAppName())) {
|
||||||
ci4save.setAppName(ci.getAppName());
|
ci4save.setAppName(ci.getAppName());
|
||||||
}
|
}
|
||||||
|
ci4save.setDesc(ci.getDesc());
|
||||||
configInfoList4Clone.add(ci4save);
|
configInfoList4Clone.add(ci4save);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2351,6 +2351,7 @@ public class EmbeddedStoragePersistServiceImpl implements PersistService {
|
|||||||
configAdvanceInfo = new HashMap<>(16);
|
configAdvanceInfo = new HashMap<>(16);
|
||||||
}
|
}
|
||||||
configAdvanceInfo.put("type", type);
|
configAdvanceInfo.put("type", type);
|
||||||
|
configAdvanceInfo.put("desc", configInfo.getDesc());
|
||||||
try {
|
try {
|
||||||
addConfigInfo(srcIp, srcUser, configInfo2Save, time, configAdvanceInfo, notify, callFinally);
|
addConfigInfo(srcIp, srcUser, configInfo2Save, time, configAdvanceInfo, notify, callFinally);
|
||||||
succCount++;
|
succCount++;
|
||||||
|
@ -2599,6 +2599,7 @@ public class ExternalStoragePersistServiceImpl implements PersistService {
|
|||||||
configAdvanceInfo = new HashMap<>(16);
|
configAdvanceInfo = new HashMap<>(16);
|
||||||
}
|
}
|
||||||
configAdvanceInfo.put("type", type);
|
configAdvanceInfo.put("type", type);
|
||||||
|
configAdvanceInfo.put("desc", configInfo.getDesc());
|
||||||
try {
|
try {
|
||||||
addConfigInfo(srcIp, srcUser, configInfo2Save, time, configAdvanceInfo, notify);
|
addConfigInfo(srcIp, srcUser, configInfo2Save, time, configAdvanceInfo, notify);
|
||||||
succCount++;
|
succCount++;
|
||||||
|
Loading…
Reference in New Issue
Block a user