Commit 824d2357 authored by Helga Velroyen's avatar Helga Velroyen
Browse files

Fix "existing" typos



This patch fixes the wording of a couple of messages,
including two typos of the word 'existing'.
Signed-off-by: default avatarHelga Velroyen <helgav@google.com>
Reviewed-by: default avatarHrvoje Ribicic <riba@google.com>
parent 715a89c2
......@@ -1318,7 +1318,7 @@ def SetInstanceParams(opts, args):
for action, _, __ in nics:
if action == constants.DDM_MODIFY and opts.hotplug and not opts.force:
usertext = ("You are about to hot-modify a NIC. This will be done"
" by removing the exisiting and then adding a new one."
" by removing the existing NIC and then adding a new one."
" Network connection might be lost. Continue?")
if not AskUser(usertext):
return 1
......
......@@ -188,7 +188,7 @@ def _CheckFileStoragePathExistance(path):
"""
if not os.path.isdir(path):
raise errors.FileStoragePathError("Path '%s' is not existing or not a"
raise errors.FileStoragePathError("Path '%s' does not exist or is not a"
" directory." % path)
if not os.access(path, os.W_OK):
raise errors.FileStoragePathError("Path '%s' is not writable" % path)
......@@ -212,6 +212,6 @@ def CheckFileStoragePath(
except errors.FileStoragePathError as e:
return str(e)
if not os.path.isdir(path):
return "Path '%s' is not exisiting or not a directory." % path
return "Path '%s' is not existing or not a directory." % path
if not os.access(path, os.W_OK):
return "Path '%s' is not writable" % path
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment