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/08/21 07:47:20 UTC
[1/2] libcloud git commit: fixed AWS ALB/ELB driver init method to
instantiate nested connection object properly
Repository: libcloud
Updated Branches:
refs/heads/trunk 2071b581a -> 2f20ef358
fixed AWS ALB/ELB driver init method to instantiate nested connection object properly
Closes #1089
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/b4057aab
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/b4057aab
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/b4057aab
Branch: refs/heads/trunk
Commit: b4057aab166a562605bfd3f5d9d604f319c06ed7
Parents: 2071b58
Author: Anton Kozyrev <an...@gmail.com>
Authored: Tue Aug 8 13:08:02 2017 +0300
Committer: Anthony Shaw <an...@apache.org>
Committed: Mon Aug 21 17:19:24 2017 +1000
----------------------------------------------------------------------
libcloud/loadbalancer/drivers/alb.py | 7 +++----
libcloud/loadbalancer/drivers/elb.py | 5 +++--
2 files changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/b4057aab/libcloud/loadbalancer/drivers/alb.py
----------------------------------------------------------------------
diff --git a/libcloud/loadbalancer/drivers/alb.py b/libcloud/loadbalancer/drivers/alb.py
index f712fa9..e311325 100644
--- a/libcloud/loadbalancer/drivers/alb.py
+++ b/libcloud/loadbalancer/drivers/alb.py
@@ -53,12 +53,11 @@ class ApplicationLBDriver(Driver):
def __init__(self, access_id, secret, region, token=None):
self.token = token
- super(ApplicationLBDriver, self).__init__(
- access_id, secret, token=token
- )
self.region = region
self.region_name = region
- self.connection.host = HOST % (region)
+ super(ApplicationLBDriver, self).__init__(
+ access_id, secret, token=token, host=HOST % region, region=region
+ )
def list_protocols(self):
return ['http', 'https']
http://git-wip-us.apache.org/repos/asf/libcloud/blob/b4057aab/libcloud/loadbalancer/drivers/elb.py
----------------------------------------------------------------------
diff --git a/libcloud/loadbalancer/drivers/elb.py b/libcloud/loadbalancer/drivers/elb.py
index 766c86d..beeb1b7 100644
--- a/libcloud/loadbalancer/drivers/elb.py
+++ b/libcloud/loadbalancer/drivers/elb.py
@@ -55,10 +55,11 @@ class ElasticLBDriver(Driver):
def __init__(self, access_id, secret, region, token=None):
self.token = token
- super(ElasticLBDriver, self).__init__(access_id, secret, token=token)
self.region = region
self.region_name = region
- self.connection.host = HOST % (region)
+ super(ElasticLBDriver, self).__init__(
+ access_id, secret, token=token, host=HOST % region, region=region
+ )
def list_protocols(self):
return ['tcp', 'ssl', 'http', 'https']
[2/2] libcloud git commit: changes for #1089
Posted by an...@apache.org.
changes for #1089
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/2f20ef35
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/2f20ef35
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/2f20ef35
Branch: refs/heads/trunk
Commit: 2f20ef3587e86eaa7239372ac49e1ee718ef23d5
Parents: b4057aa
Author: Anthony Shaw <an...@apache.org>
Authored: Mon Aug 21 17:47:14 2017 +1000
Committer: Anthony Shaw <an...@apache.org>
Committed: Mon Aug 21 17:47:14 2017 +1000
----------------------------------------------------------------------
CHANGES.rst | 7 +++++++
1 file changed, 7 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/2f20ef35/CHANGES.rst
----------------------------------------------------------------------
diff --git a/CHANGES.rst b/CHANGES.rst
index 8d65901..41a30d6 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -41,6 +41,13 @@ DNS
[GITHUB-1088]
(@mete0r)
+Load Balancer
+~~~~~~~~~~~~~
+
+- Fixed AWS ALB/ELB driver init method to instantiate nested connection object properly
+ [LIBCLOUD-936, GITHUB-1089]
+ (Anton Kozyrev)
+
Storage
~~~~~~~