You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ja...@apache.org on 2014/06/24 07:38:44 UTC

git commit: updated refs/heads/master to 5da2e98

Repository: cloudstack
Updated Branches:
  refs/heads/master d3ffb7a56 -> 5da2e9828


CLOUDSTACK-6923: Fixed issue in lbsticlbsticlbrule with lbrule id


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

Branch: refs/heads/master
Commit: 5da2e9828d2c83a67ffdbc4e3853be73fc681a6b
Parents: d3ffb7a
Author: Jayapal <ja...@apache.org>
Authored: Tue Jun 24 10:35:34 2014 +0530
Committer: Jayapal <ja...@apache.org>
Committed: Tue Jun 24 11:08:15 2014 +0530

----------------------------------------------------------------------
 .../api/command/user/loadbalancer/ListLBStickinessPoliciesCmd.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/5da2e982/api/src/org/apache/cloudstack/api/command/user/loadbalancer/ListLBStickinessPoliciesCmd.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/command/user/loadbalancer/ListLBStickinessPoliciesCmd.java b/api/src/org/apache/cloudstack/api/command/user/loadbalancer/ListLBStickinessPoliciesCmd.java
index 80ae3eb..6477621 100644
--- a/api/src/org/apache/cloudstack/api/command/user/loadbalancer/ListLBStickinessPoliciesCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/loadbalancer/ListLBStickinessPoliciesCmd.java
@@ -107,7 +107,7 @@ public class ListLBStickinessPoliciesCmd extends BaseListCmd {
             }
         }
 
-        if (lbRuleId != null && lb != null) {
+        if (lbRuleId != null && lb == null) {
             lb = _lbService.findById(getLbRuleId());
         }