mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Change comment and salt.utils.network import
This commit is contained in:
parent
e972ebdf1a
commit
da38f332a5
1 changed files with 2 additions and 2 deletions
|
@ -144,8 +144,8 @@ def resolve_dns(opts, fallback=True):
|
|||
if (opts.get('file_client', 'remote') == 'local' and
|
||||
not opts.get('use_master_when_local', False)):
|
||||
check_dns = False
|
||||
# Because I import salt.log below I need to re-import salt.utils here
|
||||
import salt.utils
|
||||
# Since salt.log is imported below, salt.utils.network needs to be imported here as well
|
||||
import salt.utils.network
|
||||
|
||||
if check_dns is True:
|
||||
try:
|
||||
|
|
Loading…
Add table
Reference in a new issue