mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
vmware: Persist empty values instead of null (#5748)
This PR allows deploying VMware appliances missing default values on some properties Fixes: #5747
This commit is contained in:
parent
48006de3e3
commit
946f9156e5
@ -4416,6 +4416,8 @@ public class UserVmManagerImpl extends ManagerBase implements UserVmManager, Vir
|
||||
value = DBEncryptionUtil.encrypt(value);
|
||||
}
|
||||
}
|
||||
} else if (value == null) {
|
||||
value = "";
|
||||
}
|
||||
if (s_logger.isTraceEnabled()) {
|
||||
s_logger.trace(String.format("setting property '%s' as '%s' with value '%s'", key, detailKey, value));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user