mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Fix import issues
This commit is contained in:
parent
ba07c3435f
commit
e681a3287f
@ -44,7 +44,6 @@ import salt.utils.schedule
|
||||
from salt.state import _getargs
|
||||
from salt._compat import string_types
|
||||
from salt.utils.debug import enable_sigusr1_handler
|
||||
from salt.utils import enable_ctrl_logoff_handler
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
@ -987,7 +986,7 @@ class Minion(object):
|
||||
enable_sigusr1_handler()
|
||||
|
||||
# Make sure to gracefully handle CTRL_LOGOFF_EVENT
|
||||
enable_ctrl_logoff_handler()
|
||||
salt.utils.enable_ctrl_logoff_handler()
|
||||
|
||||
# On first startup execute a state run if configured to do so
|
||||
self._state_run()
|
||||
|
Loading…
Reference in New Issue
Block a user