Merge pull request #42826 from terminalmage/fix-spelling

Fix misspelling of "versions"
This commit is contained in:
Nicole Thomas 2017-08-09 15:39:42 -04:00 committed by GitHub
commit 4cbf8057b3
2 changed files with 2 additions and 2 deletions

View File

@ -1892,7 +1892,7 @@ def list_policy_versions(policy_name,
return ret.get('list_policy_versions_response', {}).get('list_policy_versions_result', {}).get('versions')
except boto.exception.BotoServerError as e:
log.debug(e)
msg = 'Failed to list {0} policy vesions.'
msg = 'Failed to list {0} policy versions.'
log.error(msg.format(policy_name))
return []

View File

@ -214,7 +214,7 @@ def uptime():
raise CommandExecutionError("File {ut_path} was not found.".format(ut_path=ut_path))
seconds = int(float(salt.utils.fopen(ut_path).read().split()[0]))
elif salt.utils.is_sunos():
# note: some flavors/vesions report the host uptime inside a zone
# note: some flavors/versions report the host uptime inside a zone
# https://support.oracle.com/epmos/faces/BugDisplay?id=15611584
res = __salt__['cmd.run_all']('kstat -p unix:0:system_misc:boot_time')
if res['retcode'] > 0: