Repository: cloudstack Updated Branches: refs/heads/master 8b2efee61 -> 60fb60a91
Corrected the error message in egress rule add command Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/60fb60a9 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/60fb60a9 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/60fb60a9 Branch: refs/heads/master Commit: 60fb60a91107f2a1ea55a4b39634bbe0ca059fad Parents: 8b2efee Author: Damodar <damoder.re...@citrix.com> Authored: Mon Jul 21 09:31:15 2014 +0530 Committer: Santhosh Edukulla <santhosh.eduku...@gmail.com> Committed: Mon Jul 21 10:40:47 2014 +0530 ---------------------------------------------------------------------- .../api/command/user/firewall/CreateEgressFirewallRuleCmd.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/60fb60a9/api/src/org/apache/cloudstack/api/command/user/firewall/CreateEgressFirewallRuleCmd.java ---------------------------------------------------------------------- diff --git a/api/src/org/apache/cloudstack/api/command/user/firewall/CreateEgressFirewallRuleCmd.java b/api/src/org/apache/cloudstack/api/command/user/firewall/CreateEgressFirewallRuleCmd.java index 90aed5e..1a0cfae 100644 --- a/api/src/org/apache/cloudstack/api/command/user/firewall/CreateEgressFirewallRuleCmd.java +++ b/api/src/org/apache/cloudstack/api/command/user/firewall/CreateEgressFirewallRuleCmd.java @@ -242,7 +242,7 @@ public class CreateEgressFirewallRuleCmd extends BaseAsyncCreateCmd implements F continue; } if (!NetUtils.isNetworkAWithinNetworkB(cidr, guestCidr)) { - throw new ServerApiException(ApiErrorCode.PARAM_ERROR, cidr + "is not within the guest cidr " + guestCidr); + throw new ServerApiException(ApiErrorCode.PARAM_ERROR, cidr + " is not within the guest cidr " + guestCidr); } } }