libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anthonys...@apache.org
Subject [9/9] libcloud git commit: revert for else fix in drivers/elb, to be addressed in later PR Closes #1080
Date Mon, 10 Jul 2017 08:48:28 GMT
revert for else fix in drivers/elb, to be addressed in later PR
Closes #1080


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

Branch: refs/heads/trunk
Commit: d6dba50de4a24027d14708fbe1a36679953814eb
Parents: 7ab8b8d
Author: jhelie <jean.helie@gmail.com>
Authored: Thu Jul 6 09:34:50 2017 +0100
Committer: Anthony Shaw <anthonyshaw@apache.org>
Committed: Mon Jul 10 09:48:05 2017 +0100

----------------------------------------------------------------------
 libcloud/loadbalancer/drivers/elb.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/d6dba50d/libcloud/loadbalancer/drivers/elb.py
----------------------------------------------------------------------
diff --git a/libcloud/loadbalancer/drivers/elb.py b/libcloud/loadbalancer/drivers/elb.py
index 1eba3b9..766c86d 100644
--- a/libcloud/loadbalancer/drivers/elb.py
+++ b/libcloud/loadbalancer/drivers/elb.py
@@ -308,7 +308,8 @@ class ElasticLBDriver(Driver):
             if protocol == 'HTTPS' or protocol == 'SSL':
                 params['Listeners.member.%d.   \
                         SSLCertificateId' % i] = listener[3]
-        return False
+        else:
+            return False
 
         response = self.connection.request(ROOT, params=params)
         return response.status == httplib.OK


Mime
View raw message