Repository: libcloud Updated Branches: refs/heads/trunk 047dd064d -> 752275c0b
Fix a typo for an error message in the GCE driver. 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/9d253dba Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/9d253dba Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/9d253dba Branch: refs/heads/trunk Commit: 9d253dba668316954e96a986cff01bf915831ab6 Parents: 047dd06 Author: Franck Cuny <[email protected]> Authored: Sat Mar 1 14:08:43 2014 -0800 Committer: Tomaz Muraus <[email protected]> Committed: Sun Mar 2 13:35:55 2014 +0100 ---------------------------------------------------------------------- libcloud/compute/drivers/gce.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/9d253dba/libcloud/compute/drivers/gce.py ---------------------------------------------------------------------- diff --git a/libcloud/compute/drivers/gce.py b/libcloud/compute/drivers/gce.py index 69dfb44..ee88a9f 100644 --- a/libcloud/compute/drivers/gce.py +++ b/libcloud/compute/drivers/gce.py @@ -1699,7 +1699,7 @@ class GCENodeDriver(NodeDriver): on_host_maintenance = on_host_maintenance.upper() ohm_values = ['MIGRATE', 'TERMINATE'] if on_host_maintenance not in ohm_values: - raise ValueError('on_host_maintenence must be one of %s' % + raise ValueError('on_host_maintenance must be one of %s' % ','.join(ohm_values)) request = '/zones/%s/instances/%s/setScheduling' % (
