mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix misspelling of "versions"
This commit is contained in:
parent
de997edd90
commit
00f93142e4
2 changed files with 2 additions and 2 deletions
|
@ -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 []
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue