mirror of https://github.com/apache/cloudstack.git
fixed string comparation
This commit is contained in:
parent
d43e6fef9c
commit
37bae606d0
|
|
@ -4777,7 +4777,7 @@ public class ManagementServerImpl implements ManagementServer {
|
|||
Long zoneId = cmd.getZoneId();
|
||||
if (zoneId == null) {
|
||||
String hypers = _configDao.getValue(Config.HypervisorList.key());
|
||||
if (hypers == "" || hypers == null) {
|
||||
if ( hypers == null || hypers.isEmpty() ) {
|
||||
return null;
|
||||
}
|
||||
return hypers.split(",");
|
||||
|
|
|
|||
Loading…
Reference in New Issue