weizhouapache commented on code in PR #11210: URL: https://github.com/apache/cloudstack/pull/11210#discussion_r2213507419
########## services/secondary-storage/controller/src/main/java/org/apache/cloudstack/secondarystorage/SecondaryStorageManagerImpl.java: ########## @@ -1178,7 +1175,7 @@ public boolean finalizeVirtualMachineProfile(VirtualMachineProfile profile, Depl buf.append(" vmpassword=").append(_configDao.getValue("system.vm.password")); } - if (NTPServerConfig.value() != null) { + if (!StringUtils.isEmpty(NTPServerConfig.value())) { Review Comment: oh sorry I was unclear. I meant you can use StringUtils.isNotEmpty here -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org