mirror of https://github.com/apache/cloudstack.git
Fixed editZone command - if dns2 is not specified, keep the old value instead of updating it to NULL
This commit is contained in:
parent
8c5b5107ef
commit
fe93821bb1
|
|
@ -911,6 +911,10 @@ public class ConfigurationManagerImpl implements ConfigurationManager, Configura
|
|||
dns1 = zone.getDns1();
|
||||
}
|
||||
|
||||
if (dns2 == null) {
|
||||
dns2 = zone.getDns2();
|
||||
}
|
||||
|
||||
if(internalDns1 == null)
|
||||
{
|
||||
internalDns1 = zone.getInternalDns1();
|
||||
|
|
|
|||
Loading…
Reference in New Issue