fix spelling mistakes in several modules (#36296)

* fix more spelling mistakes

* fix spelling mistakes
This commit is contained in:
Sebastian Gumprich
2018-03-12 11:00:19 +01:00
committed by Dag Wieers
parent a50db37c6c
commit 16c564c4b4
21 changed files with 33 additions and 33 deletions

View File

@@ -986,7 +986,7 @@ class PyVmomiHelper(PyVmomi):
" a VLAN name under VM network list.")
if 'name' in network and find_obj(self.content, [vim.Network], network['name']) is None:
self.module.fail_json(msg="Network '%(name)s' does not exists" % network)
self.module.fail_json(msg="Network '%(name)s' does not exist." % network)
elif 'vlan' in network:
dvps = self.cache.get_all_objs(self.content, [vim.dvs.DistributedVirtualPortgroup])
for dvp in dvps:
@@ -1333,7 +1333,7 @@ class PyVmomiHelper(PyVmomi):
ident.guiRunOnce.commandList = self.params['customization']['runonce']
else:
# FIXME: We have no clue whether this non-Windows OS is actually Linux, hence it might fail !
# FIXME: We have no clue whether this non-Windows OS is actually Linux, hence it might fail!
# For Linux guest OS, use LinuxPrep
# https://pubs.vmware.com/vi3/sdk/ReferenceGuide/vim.vm.customization.LinuxPrep.html
@@ -1352,7 +1352,7 @@ class PyVmomiHelper(PyVmomi):
self.customspec.identity = ident
def get_vm_scsi_controller(self, vm_obj):
# If vm_obj doesn't exists no SCSI controller to find
# If vm_obj doesn't exist there is no SCSI controller to find
if vm_obj is None:
return None

View File

@@ -192,7 +192,7 @@ class VMwareLocalRoleManager(PyVmomi):
failIfUsed=self.force)
except vim.fault.NotFound as e:
self.module.fail_json(msg="Failed to remove a role %s as the user specified role name "
"does not exists." % self.role_name,
"does not exist." % self.role_name,
details=e.msg)
except vim.fault.RemoveFailed as e:
msg = "Failed to remove a role %s as the user specified role name." % self.role_name

View File

@@ -231,7 +231,7 @@ class VmwareDrs(PyVmomi):
# Create
def create(self):
"""
Function to create a DRS rule if rule does not exists
Function to create a DRS rule if rule does not exist
"""
rule_obj = self.get_rule_key_by_name(rule_name=self.rule_name)
if rule_obj is not None: