mirror of https://github.com/apache/cloudstack.git
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
This commit is contained in:
commit
8d30ae81af
|
|
@ -122,7 +122,7 @@ public class RegisterIsoCmd extends BaseCmd {
|
|||
List<TemplateResponse> responses = new ArrayList<TemplateResponse>();
|
||||
List<DataCenterVO> zones = null;
|
||||
|
||||
if (zoneId != null) {
|
||||
if ((zoneId != null) && (zoneId != -1)) {
|
||||
zones = new ArrayList<DataCenterVO>();
|
||||
zones.add(ApiDBUtils.findZoneById(zoneId));
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue