Wrong usage of "an"

Wrong usage of "an" in the mesages:
"Now it's an subclass of module versions"
"Represents an syncpoint for an stack"
"Creates an sync point entry in DB"

Should be:
"Now it's a subclass of module versions"
"Represents a syncpoint for an stack"
"Creates a sync point entry in DB"

Totally 4 occasions in Heat base code.

Change-Id: I19a0c984a2d19719e4687fbcbec3760866ddab11
This commit is contained in:
hgangwx 2015-12-27 16:12:46 +08:00
parent 4235bd366b
commit c9abb4744f
4 changed files with 4 additions and 4 deletions

View File

@ -13,7 +13,7 @@
"""Controller that returns information on the heat API versions.
Now it's an subclass of module versions, because of identity with OpenStack
Now it's a subclass of module versions, because of identity with OpenStack
module versions.
"""
from heat.api import versions

View File

@ -13,7 +13,7 @@
"""Controller that returns information on the heat API versions.
Now it's an subclass of module versions, because of identity with cfn module
Now it's a subclass of module versions, because of identity with cfn module
versions. It can be changed, if there will be another API version.
"""
from heat.api import versions

View File

@ -117,7 +117,7 @@ class StackTag(BASE, HeatBase):
class SyncPoint(BASE, HeatBase):
"""Represents an syncpoint for an stack that is being worked on."""
"""Represents an syncpoint for a stack that is being worked on."""
__tablename__ = 'sync_point'
__table_args__ = (

View File

@ -35,7 +35,7 @@ def make_key(*components):
def create(context, entity_id, traversal_id, is_update, stack_id):
"""Creates an sync point entry in DB."""
"""Creates a sync point entry in DB."""
values = {'entity_id': entity_id, 'traversal_id': traversal_id,
'is_update': is_update, 'atomic_key': 0,
'stack_id': stack_id, 'input_data': {}}