mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix typo
This commit is contained in:
parent
a8ce153252
commit
88e03bba6d
2 changed files with 2 additions and 2 deletions
|
@ -127,7 +127,7 @@ def beacon(config):
|
|||
for func in config:
|
||||
try:
|
||||
data = __salt__['status.{0}'.format(func)]()
|
||||
except salt.exceptions.NotImplemented as exc:
|
||||
except salt.exceptions.CommandExecutionError as exc:
|
||||
log.error('Status beacon attempted to process function {0} \
|
||||
but encountered error: {1}'.format(func, exc))
|
||||
continue
|
||||
|
|
|
@ -27,7 +27,7 @@ import salt.utils.event
|
|||
from salt.utils.network import host_to_ips as _host_to_ips
|
||||
from salt.utils.network import remote_port_tcp as _remote_port_tcp
|
||||
from salt.ext.six.moves import zip
|
||||
from salt.exceptions import CommandExecutionError, NotImplemented
|
||||
from salt.exceptions import CommandExecutionError
|
||||
|
||||
__virtualname__ = 'status'
|
||||
__opts__ = {}
|
||||
|
|
Loading…
Add table
Reference in a new issue