Browse Source

Trivial typo fix

found it when work on something else

Change-Id: Ie13544fb4fb5ab8a8ebf0e2c0c6b02d87cebb189
chestack 1 year ago
parent
commit
afa32e8672
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      magnum/api/controllers/v1/bay.py
  2. 1
    1
      magnum/api/controllers/v1/baymodel.py

+ 1
- 1
magnum/api/controllers/v1/bay.py View File

@@ -433,7 +433,7 @@ class BaysController(base.Controller):
433 433
         bay_dict['project_id'] = context.project_id
434 434
         bay_dict['user_id'] = context.user_id
435 435
         # NOTE(yuywz): We will generate a random human-readable name for
436
-        # bay if the name is not spcified by user.
436
+        # bay if the name is not specified by user.
437 437
         name = bay_dict.get('name') or self._generate_name_for_bay(context)
438 438
         bay_dict['name'] = name
439 439
         bay_dict['coe_version'] = None

+ 1
- 1
magnum/api/controllers/v1/baymodel.py View File

@@ -345,7 +345,7 @@ class BayModelsController(base.Controller):
345 345
                 raise exception.ClusterTemplatePublishDenied()
346 346
 
347 347
         # NOTE(yuywz): We will generate a random human-readable name for
348
-        # baymodel if the name is not spcified by user.
348
+        # baymodel if the name is not specified by user.
349 349
         arg_name = baymodel_dict.get('name')
350 350
         name = arg_name or self._generate_name_for_baymodel(context)
351 351
         baymodel_dict['name'] = name

Loading…
Cancel
Save