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 authored and vzhestkov committed Aug 30, 2024
1 parent 3e7b933 commit d30d308
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 d30d308

Please sign in to comment.