mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
Fix typos
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
81994cf443
commit
af278fe1ab
@ -301,7 +301,7 @@ public class DeployVMCmd extends BaseAsyncCreateCustomIdCmd {
|
||||
|
||||
public List<Long> getNetworkIds() {
|
||||
if (ipToNetworkList != null && !ipToNetworkList.isEmpty()) {
|
||||
if ((networkIds != null && !newtworkIds.isEmpty()) || ipAddress != null || getIp6Address() != null) {
|
||||
if ((networkIds != null && !networkIds.isEmpty()) || ipAddress != null || getIp6Address() != null) {
|
||||
throw new InvalidParameterValueException("ipToNetworkMap can't be specified along with networkIds or ipAddress");
|
||||
} else {
|
||||
List<Long> networks = new ArrayList<Long>();
|
||||
|
||||
@ -412,7 +412,7 @@ public class XcpServerDiscoverer extends DiscovererBase implements Discoverer, L
|
||||
else if (prodBrand.equals("XenServer") && prodVersion.equals("6.1.0"))
|
||||
return new XenServer610Resource();
|
||||
else if (prodBrand.equals("XenServer") && prodVersion.equals("6.5.0"))
|
||||
return new Xenserver650Resource();
|
||||
return new XenServer650Resource();
|
||||
else if (prodBrand.equals("XenServer") && prodVersion.equals("6.2.0")) {
|
||||
if (hotfix != null && hotfix.equals(XenserverConfigs.XSHotFix62ESP1004)) {
|
||||
return new Xenserver625Resource();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user