Fix grammar errors

Replace 'a instance' with 'an instance' in
watcher/decision_engine/model/collector/nova.py
watcher/decision_engine/model/element/instance.py

Change-Id: I39020f3e7b460dea768f7e38fef9ae9e2a4b7357
This commit is contained in:
baiwenteng
2018-02-09 16:32:54 +08:00
committed by Alexander Chadin
parent 40a653215f
commit fb66a9f2c3
2 changed files with 2 additions and 2 deletions

View File

@@ -337,7 +337,7 @@ class ModelBuilder(object):
Create an instance node for the graph using nova and the Create an instance node for the graph using nova and the
`server` nova object. `server` nova object.
:param instance: Nova VM object. :param instance: Nova VM object.
:return: A instance node for the graph. :return: An instance node for the graph.
""" """
flavor = instance.flavor flavor = instance.flavor
instance_attributes = { instance_attributes = {

View File

@@ -29,7 +29,7 @@ class InstanceState(enum.Enum):
STOPPED = 'stopped' # Instance is shut off, the disk image is still there. STOPPED = 'stopped' # Instance is shut off, the disk image is still there.
RESCUED = 'rescued' # A rescue image is running with the original image RESCUED = 'rescued' # A rescue image is running with the original image
# attached. # attached.
RESIZED = 'resized' # a Instance with the new size is active. RESIZED = 'resized' # an Instance with the new size is active.
SOFT_DELETED = 'soft-delete' SOFT_DELETED = 'soft-delete'
# still available to restore. # still available to restore.