Skip to content

Commit

Permalink
Do not add dunder salt outside of loader context
Browse files Browse the repository at this point in the history
  • Loading branch information
dwoz committed Dec 22, 2023
1 parent bf7e215 commit d54407b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions salt/utils/azurearm.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@
except ImportError:
HAS_AZURE = False

__opts__ = salt.config.minion_config("/etc/salt/minion")
__salt__ = salt.loader.minion_mods(__opts__)

log = logging.getLogger(__name__)

Expand Down

0 comments on commit d54407b

Please sign in to comment.