Fix a typo in documents
Removed redundant 'the' TrivialFix Change-Id: Ic768cee4fc2a6b3e79d8e5857e15109d27333407
This commit is contained in:
parent
b2f16d9940
commit
5d3f0a60ce
|
@ -101,7 +101,7 @@ REST_API_VERSION_HISTORY = """REST API Version History:
|
|||
|
||||
# The minimum and maximum versions of the API supported
|
||||
# The default api version request is defined to be the
|
||||
# the minimum version of the API supported.
|
||||
# minimum version of the API supported.
|
||||
# Note(cyeoh): This only applies for the v2.1 API once microversions
|
||||
# support is fully merged. It does not affect the V2 API.
|
||||
_MIN_API_VERSION = "2.1"
|
||||
|
|
|
@ -156,8 +156,8 @@ class UpgradeCommands(object):
|
|||
# This may be a fresh install in which case there may not be any
|
||||
# compute_nodes in the cell database if the nova-compute service
|
||||
# hasn't started yet to create those records. So let's query the
|
||||
# the cell database for compute_nodes records and if we find at
|
||||
# least one it's a failure.
|
||||
# cell database for compute_nodes records and if we find at least
|
||||
# one it's a failure.
|
||||
num_computes = self._count_compute_nodes()
|
||||
if num_computes > 0:
|
||||
msg = _('No host mappings found but there are compute nodes. '
|
||||
|
|
|
@ -701,8 +701,8 @@ def _set_passwd(username, admin_passwd, passwd_data, shadow_data):
|
|||
msg = _('User %(username)s not found in password file.')
|
||||
raise exception.NovaException(msg % username)
|
||||
|
||||
# update password in the shadow file.It's an error if the
|
||||
# the user doesn't exist.
|
||||
# update password in the shadow file. It's an error if the
|
||||
# user doesn't exist.
|
||||
new_shadow = list()
|
||||
found = False
|
||||
for entry in s_file:
|
||||
|
|
|
@ -948,9 +948,9 @@ class LibvirtDriver(driver.ComputeDriver):
|
|||
retry = False
|
||||
|
||||
# FIXME(wangpan): if the instance is booted again here, such as the
|
||||
# the soft reboot operation boot it here, it will
|
||||
# become "running deleted", should we check and destroy
|
||||
# it at the end of this method?
|
||||
# soft reboot operation boot it here, it will become
|
||||
# "running deleted", should we check and destroy it
|
||||
# at the end of this method?
|
||||
|
||||
# NOTE(vish): we disconnect from volumes regardless
|
||||
block_device_mapping = driver.block_device_info_get_mapping(
|
||||
|
|
Loading…
Reference in New Issue