Browse Source

Fix some typos

Change-Id: Ic68dcbb8c2d850b3b42c73db8774637068c94645
tags/4.1.0^0
yuhui_inspur 2 years ago
parent
commit
5cbb881c50
2 changed files with 3 additions and 3 deletions
  1. 1
    1
      magnum/api/attr_validator.py
  2. 2
    2
      magnum/api/versioned_method.py

+ 1
- 1
magnum/api/attr_validator.py View File

@@ -49,7 +49,7 @@ def validate_image(cli, image):
49 49
 def validate_flavor(cli, flavor):
50 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 53
     from the heat template.
54 54
     """
55 55
 

+ 2
- 2
magnum/api/versioned_method.py View File

@@ -20,10 +20,10 @@ class VersionedMethod(object):
20 20
 
21 21
         @name: Name of the method
22 22
         @start_version: Minimum acceptable version
23
-        @end_version: Maximum acceptable_version
23
+        @end_version: Maximum acceptable version
24 24
         @func: Method to call
25 25
 
26
-        Minimum and maximums are inclusive
26
+        Minimum and maximum are inclusive
27 27
         """
28 28
         self.name = name
29 29
         self.start_version = start_version

Loading…
Cancel
Save