mirror of https://github.com/apache/cloudstack.git
Correcting the spelling errors in the Non contigous Vlan range code
This commit is contained in:
parent
2c271e0f1d
commit
ff7112a074
|
|
@ -1126,7 +1126,7 @@ public class S3Engine {
|
|||
SBucketVO sbucket = bucketDao.getByName( bucketName );
|
||||
if (sbucket == null) {
|
||||
response.setResultCode(404);
|
||||
response.setResultDescription("<Code>Bucket dosen't exists</Code><Message>Bucket " + bucketName + " does not exist</Message>");
|
||||
response.setResultDescription("<Code>Bucket doesn't exists</Code><Message>Bucket " + bucketName + " does not exist</Message>");
|
||||
return response;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -725,7 +725,7 @@ public abstract class ExternalFirewallDeviceManagerImpl extends AdapterBase impl
|
|||
}
|
||||
}
|
||||
if (lowestVlanTag == null) {
|
||||
throw new InvalidParameterValueException ("The vlan tag dose not belong to any of the existing vlan ranges");
|
||||
throw new InvalidParameterValueException ("The vlan tag does not belong to any of the existing vlan ranges");
|
||||
}
|
||||
return vlanTag - lowestVlanTag;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2529,7 +2529,7 @@ public class NetworkServiceImpl extends ManagerBase implements NetworkService {
|
|||
}
|
||||
|
||||
if (temp == 0){
|
||||
throw new InvalidParameterValueException("The vlan range you are trying to delete dose not exist.");
|
||||
throw new InvalidParameterValueException("The vlan range you are trying to delete does not exist.");
|
||||
}
|
||||
if(existingRanges.get(i).first() > existingRanges.get(i).second()){
|
||||
existingRanges.remove(i);
|
||||
|
|
|
|||
|
|
@ -284,7 +284,7 @@ public abstract class GuestNetworkGuru extends AdapterBase implements NetworkGur
|
|||
}
|
||||
}
|
||||
if (lowestVlanTag == null) {
|
||||
throw new InvalidParameterValueException ("The vlan tag dose not belong to any of the existing vlan ranges");
|
||||
throw new InvalidParameterValueException ("The vlan tag does not belong to any of the existing vlan ranges");
|
||||
}
|
||||
return vlanTag - lowestVlanTag;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue