cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From raj...@apache.org
Subject git commit: updated refs/heads/master to cdc66c9
Date Mon, 15 Dec 2014 05:57:01 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master 1a66b3b5c -> cdc66c9e7


Small typo correction, exisits -> exists

Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com>

This closes #57


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/cdc66c9e
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/cdc66c9e
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/cdc66c9e

Branch: refs/heads/master
Commit: cdc66c9e70446b09fd272e8dde4dff89bb932f1e
Parents: 1a66b3b
Author: Sebastien Goasguen <runseb@gmail.com>
Authored: Fri Dec 12 17:59:59 2014 -0500
Committer: Rajani Karuturi <rajanikaruturi@gmail.com>
Committed: Mon Dec 15 11:26:19 2014 +0530

----------------------------------------------------------------------
 .../src/com/cloud/network/security/SecurityGroupManagerImpl.java | 2 +-
 server/src/com/cloud/vm/UserVmManagerImpl.java                   | 2 +-
 .../org/apache/cloudstack/affinity/AffinityGroupServiceImpl.java | 4 ++--
 .../src/org/apache/cloudstack/iam/server/IAMServiceImpl.java     | 4 ++--
 4 files changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/cdc66c9e/server/src/com/cloud/network/security/SecurityGroupManagerImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/network/security/SecurityGroupManagerImpl.java b/server/src/com/cloud/network/security/SecurityGroupManagerImpl.java
index cffdf8f..174106d 100644
--- a/server/src/com/cloud/network/security/SecurityGroupManagerImpl.java
+++ b/server/src/com/cloud/network/security/SecurityGroupManagerImpl.java
@@ -870,7 +870,7 @@ public class SecurityGroupManagerImpl extends ManagerBase implements SecurityGro
         Account owner = _accountMgr.finalizeOwner(caller, cmd.getAccountName(), cmd.getDomainId(),
cmd.getProjectId());
 
         if (_securityGroupDao.isNameInUse(owner.getId(), owner.getDomainId(), cmd.getSecurityGroupName()))
{
-            throw new InvalidParameterValueException("Unable to create security group, a
group with name " + name + " already exisits.");
+            throw new InvalidParameterValueException("Unable to create security group, a
group with name " + name + " already exists.");
         }
 
         return createSecurityGroup(cmd.getSecurityGroupName(), cmd.getDescription(), owner.getDomainId(),
owner.getAccountId(), owner.getAccountName());

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/cdc66c9e/server/src/com/cloud/vm/UserVmManagerImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/vm/UserVmManagerImpl.java b/server/src/com/cloud/vm/UserVmManagerImpl.java
index 35556b1..4e3b16a 100644
--- a/server/src/com/cloud/vm/UserVmManagerImpl.java
+++ b/server/src/com/cloud/vm/UserVmManagerImpl.java
@@ -2198,7 +2198,7 @@ public class UserVmManagerImpl extends ManagerBase implements UserVmManager,
Vir
         boolean isNameInUse = _vmGroupDao.isNameInUse(accountId, groupName);
 
         if (isNameInUse) {
-            throw new InvalidParameterValueException("Unable to create vm group, a group
with name " + groupName + " already exisits for account " + accountId);
+            throw new InvalidParameterValueException("Unable to create vm group, a group
with name " + groupName + " already exists for account " + accountId);
         }
 
         return createVmGroup(groupName, accountId);

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/cdc66c9e/server/src/org/apache/cloudstack/affinity/AffinityGroupServiceImpl.java
----------------------------------------------------------------------
diff --git a/server/src/org/apache/cloudstack/affinity/AffinityGroupServiceImpl.java b/server/src/org/apache/cloudstack/affinity/AffinityGroupServiceImpl.java
index b984b97..2139b5d 100644
--- a/server/src/org/apache/cloudstack/affinity/AffinityGroupServiceImpl.java
+++ b/server/src/org/apache/cloudstack/affinity/AffinityGroupServiceImpl.java
@@ -195,10 +195,10 @@ public class AffinityGroupServiceImpl extends ManagerBase implements
AffinityGro
         }
 
         if (_affinityGroupDao.isNameInUse(owner.getAccountId(), owner.getDomainId(), affinityGroupName))
{
-            throw new InvalidParameterValueException("Unable to create affinity group, a
group with name " + affinityGroupName + " already exisits.");
+            throw new InvalidParameterValueException("Unable to create affinity group, a
group with name " + affinityGroupName + " already exists.");
         }
         if (domainLevel && _affinityGroupDao.findDomainLevelGroupByName(domainId,
affinityGroupName) != null) {
-            throw new InvalidParameterValueException("Unable to create affinity group, a
group with name " + affinityGroupName + " already exisits under the domain.");
+            throw new InvalidParameterValueException("Unable to create affinity group, a
group with name " + affinityGroupName + " already exists under the domain.");
         }
 
         final Account ownerFinal = owner;

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/cdc66c9e/services/iam/server/src/org/apache/cloudstack/iam/server/IAMServiceImpl.java
----------------------------------------------------------------------
diff --git a/services/iam/server/src/org/apache/cloudstack/iam/server/IAMServiceImpl.java
b/services/iam/server/src/org/apache/cloudstack/iam/server/IAMServiceImpl.java
index fa37cf6..bfeb979 100644
--- a/services/iam/server/src/org/apache/cloudstack/iam/server/IAMServiceImpl.java
+++ b/services/iam/server/src/org/apache/cloudstack/iam/server/IAMServiceImpl.java
@@ -153,7 +153,7 @@ public class IAMServiceImpl extends ManagerBase implements IAMService,
Manager {
         if (grp != null) {
             throw new InvalidParameterValueException(
                     "Unable to create acl group with name " + iamGroupName
-                            + " already exisits for path " + path);
+                            + " already exists for path " + path);
         }
         IAMGroupVO rvo = new IAMGroupVO(iamGroupName, description);
         rvo.setPath(path);
@@ -372,7 +372,7 @@ public class IAMServiceImpl extends ManagerBase implements IAMService,
Manager {
         if (ro != null) {
             throw new InvalidParameterValueException(
                     "Unable to create acl policy with name " + iamPolicyName
-                            + " already exisits");
+                            + " already exists");
         }
 
         IAMPolicy role = Transaction.execute(new TransactionCallback<IAMPolicy>() {


Mime
View raw message