libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject [07/10] git commit: GCE: fix parameter name for protocol in ex_create_forwarding_rule
Date Sat, 20 Sep 2014 20:19:39 GMT
GCE: fix parameter name for protocol in ex_create_forwarding_rule

Signed-off-by: Tomaz Muraus <tomaz@apache.org>


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

Branch: refs/heads/trunk
Commit: e3de3b725e3da70f2b7e26d50f2802c17438aee4
Parents: a48481e
Author: Evgeny Egorochkin <phreedom@yandex.ru>
Authored: Wed Jul 9 02:57:44 2014 +0300
Committer: Tomaz Muraus <tomaz@apache.org>
Committed: Sat Sep 20 22:06:37 2014 +0200

----------------------------------------------------------------------
 libcloud/compute/drivers/gce.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/e3de3b72/libcloud/compute/drivers/gce.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/gce.py b/libcloud/compute/drivers/gce.py
index fc2bc82..30b5139 100644
--- a/libcloud/compute/drivers/gce.py
+++ b/libcloud/compute/drivers/gce.py
@@ -1116,7 +1116,7 @@ class GCENodeDriver(NodeDriver):
         forwarding_rule_data['name'] = name
         forwarding_rule_data['region'] = region.extra['selfLink']
         forwarding_rule_data['target'] = targetpool.extra['selfLink']
-        forwarding_rule_data['protocol'] = protocol.upper()
+        forwarding_rule_data['IPProtocol'] = protocol.upper()
         if address:
             if not hasattr(address, 'name'):
                 address = self.ex_get_address(address, region)


Mime
View raw message