You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by an...@apache.org on 2017/07/10 08:48:28 UTC
[9/9] libcloud git commit: revert for else fix in drivers/elb,
to be addressed in later PR Closes #1080
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 <je...@gmail.com>
Authored: Thu Jul 6 09:34:50 2017 +0100
Committer: Anthony Shaw <an...@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