GCE: lint Signed-off-by: Tomaz Muraus <[email protected]>
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/125d8cd0 Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/125d8cd0 Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/125d8cd0 Branch: refs/heads/trunk Commit: 125d8cd047bd1d385f0359bb3e61d52acc00f103 Parents: e3de3b7 Author: Evgeny Egorochkin <[email protected]> Authored: Sat Sep 20 02:24:06 2014 +0300 Committer: Tomaz Muraus <[email protected]> Committed: Sat Sep 20 22:06:37 2014 +0200 ---------------------------------------------------------------------- libcloud/compute/drivers/gce.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/125d8cd0/libcloud/compute/drivers/gce.py ---------------------------------------------------------------------- diff --git a/libcloud/compute/drivers/gce.py b/libcloud/compute/drivers/gce.py index 30b5139..5c0035b 100644 --- a/libcloud/compute/drivers/gce.py +++ b/libcloud/compute/drivers/gce.py @@ -1672,7 +1672,9 @@ class GCENodeDriver(NodeDriver): if not hasattr(healthcheck, 'name'): healthcheck = self.ex_get_healthcheck(healthcheck) - targetpool_data = {'healthChecks': [{'healthCheck': healthcheck.extra['selfLink']}] } + targetpool_data = { + 'healthChecks': [{'healthCheck': healthcheck.extra['selfLink']}] + } request = '/regions/%s/targetPools/%s/addHealthCheck' % ( targetpool.region.name, targetpool.name) @@ -1741,7 +1743,9 @@ class GCENodeDriver(NodeDriver): if not hasattr(healthcheck, 'name'): healthcheck = self.ex_get_healthcheck(healthcheck) - targetpool_data = {'healthChecks': [{'healthCheck': healthcheck.extra['selfLink']}] } + targetpool_data = { + 'healthChecks': [{'healthCheck': healthcheck.extra['selfLink']}] + } request = '/regions/%s/targetPools/%s/removeHealthCheck' % ( targetpool.region.name, targetpool.name)
