mirror of https://github.com/apache/cloudstack.git
bug 10179: don't insert config record if it's already present in the db
status 10179: resolved fixed
This commit is contained in:
parent
f20b410e09
commit
b56fd81ce5
|
|
@ -149,7 +149,7 @@ public class ConfigurationServerImpl implements ConfigurationServer {
|
|||
String name = c.key();
|
||||
|
||||
// If the value is already in the table, don't reinsert it
|
||||
if (_configDao.getValue(name) != null) {
|
||||
if (_configDao.findByName(name) != null) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue