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:
committed by
Alexander Chadin
parent
40a653215f
commit
fb66a9f2c3
@@ -337,7 +337,7 @@ class ModelBuilder(object):
|
||||
Create an instance node for the graph using nova and the
|
||||
`server` nova object.
|
||||
:param instance: Nova VM object.
|
||||
:return: A instance node for the graph.
|
||||
:return: An instance node for the graph.
|
||||
"""
|
||||
flavor = instance.flavor
|
||||
instance_attributes = {
|
||||
|
||||
@@ -29,7 +29,7 @@ class InstanceState(enum.Enum):
|
||||
STOPPED = 'stopped' # Instance is shut off, the disk image is still there.
|
||||
RESCUED = 'rescued' # A rescue image is running with the original image
|
||||
# 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'
|
||||
# still available to restore.
|
||||
|
||||
Reference in New Issue
Block a user