mirror of https://github.com/apache/cloudstack.git
fix exception message
changed the exception message to include accountName instead of account, since account at this point is known to be null Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com> Signed-off-by: Chiradeep Vittal <chiradeep@apache.org>
This commit is contained in:
parent
b68dd4cf94
commit
3fe468cc28
|
|
@ -316,7 +316,7 @@ public class CreateLoadBalancerRuleCmd extends BaseAsyncCreateCmd /*implements
|
|||
if (account != null) {
|
||||
return account.getId();
|
||||
} else {
|
||||
throw new InvalidParameterValueException("Unable to find account " + account + " in domain id=" + domainId);
|
||||
throw new InvalidParameterValueException("Unable to find account " + accountName + " in domain id=" + domainId);
|
||||
}
|
||||
} else {
|
||||
throw new InvalidParameterValueException("Can't define IP owner. Either specify account/domainId or publicIpId");
|
||||
|
|
|
|||
Loading…
Reference in New Issue