summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryuhui_inspur <yuhui@inspur.com>2017-02-16 00:18:54 -0800
committeryuhui_inspur <yuhui@inspur.com>2017-02-16 00:20:01 -0800
commit5cbb881c50964f0aef320ef1631870fcc2eba6f7 (patch)
tree067cb49d5391d8e512e9b449da4d6d4cde91fc77
parentee509ae323b2db469e663fcaef9647a3b111025d (diff)
Fix some typos4.1.0
Notes
Notes (review): Code-Review+2: yatin <yatin.karel@nectechnologies.in> Code-Review+2: Madhuri Kumari <madhuri.kumari@intel.com> Workflow+1: Madhuri Kumari <madhuri.kumari@intel.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Thu, 16 Feb 2017 14:16:48 +0000 Reviewed-on: https://review.openstack.org/434722 Project: openstack/magnum Branch: refs/heads/master
-rw-r--r--magnum/api/attr_validator.py2
-rw-r--r--magnum/api/versioned_method.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/magnum/api/attr_validator.py b/magnum/api/attr_validator.py
index 68b96d2..ade2a19 100644
--- a/magnum/api/attr_validator.py
+++ b/magnum/api/attr_validator.py
@@ -49,7 +49,7 @@ def validate_image(cli, image):
49def validate_flavor(cli, flavor): 49def validate_flavor(cli, flavor):
50 """Validate flavor. 50 """Validate flavor.
51 51
52 If flavor is None, skip the validation and using the default value 52 If flavor is None, skip the validation and use the default value
53 from the heat template. 53 from the heat template.
54 """ 54 """
55 55
diff --git a/magnum/api/versioned_method.py b/magnum/api/versioned_method.py
index b7e30da..2acf65a 100644
--- a/magnum/api/versioned_method.py
+++ b/magnum/api/versioned_method.py
@@ -20,10 +20,10 @@ class VersionedMethod(object):
20 20
21 @name: Name of the method 21 @name: Name of the method
22 @start_version: Minimum acceptable version 22 @start_version: Minimum acceptable version
23 @end_version: Maximum acceptable_version 23 @end_version: Maximum acceptable version
24 @func: Method to call 24 @func: Method to call
25 25
26 Minimum and maximums are inclusive 26 Minimum and maximum are inclusive
27 """ 27 """
28 self.name = name 28 self.name = name
29 self.start_version = start_version 29 self.start_version = start_version