mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 00:55:19 +00:00
Change comment and salt.utils.network import
This commit is contained in:
parent
e972ebdf1a
commit
da38f332a5
@ -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…
Reference in New Issue
Block a user