summaryrefslogtreecommitdiff
path: root/compute
diff options
context:
space:
mode:
authorMike Frysinger <vapier@chromium.org>2015-05-06 02:38:51 -0400
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-05-07 23:39:05 +0000
commit6f3c48ecda49af28dbcb1036394b51453af4fab9 (patch)
tree5f73b9112987d23d46e419ace94ee5835576620f /compute
parentee4cb0b5e6f2b0651f27b11db9391cab2f1ecdf7 (diff)
downloadchromite-6f3c48ecda49af28dbcb1036394b51453af4fab9.tar.gz
cros lint: check the indentation level of section arguments
Sometimes the indentation of things like "Args:" is incorrect. Add a linter check for it and fix up all the existing errors. BUG=chromium:485005 TEST=`cros lint` on all files pass, and catches some bad cases Change-Id: I79ea60d1e07c40d9283284bdaebfcda5af4e6246 Reviewed-on: https://chromium-review.googlesource.com/269642 Trybot-Ready: Mike Frysinger <vapier@chromium.org> Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org> Commit-Queue: Mike Frysinger <vapier@chromium.org> Tested-by: Mike Frysinger <vapier@chromium.org>
Diffstat (limited to 'compute')
-rw-r--r--compute/gcloud.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/compute/gcloud.py b/compute/gcloud.py
index 6f18d10c2..9859fbb59 100644
--- a/compute/gcloud.py
+++ b/compute/gcloud.py
@@ -215,15 +215,15 @@ class GCContext(object):
identify the the image used to create the instance.
Args:
- instance: The name of the instance to create.
- image: The source image to create |instance| from.
- machine_type: The machine type to use.
- address: The external IP address to assign to |instance|.
- wait_until_sshable: After creating |instance|, wait until
- we can ssh into |instance|.
- scopes: The list (or tuple) of service account scopes.
- tags: List of tags to be assigned to the instance.
- kwargs: See DoZoneSpecificCommand.
+ instance: The name of the instance to create.
+ image: The source image to create |instance| from.
+ machine_type: The machine type to use.
+ address: The external IP address to assign to |instance|.
+ wait_until_sshable: After creating |instance|, wait until
+ we can ssh into |instance|.
+ scopes: The list (or tuple) of service account scopes.
+ tags: List of tags to be assigned to the instance.
+ kwargs: See DoZoneSpecificCommand.
"""
cmd = ['instances', 'create', instance]
if image: