Skip to content

Commit

Permalink
Update salt/state.py
Browse files Browse the repository at this point in the history
Co-authored-by: Pedro Algarvio <pedro@algarvio.me>
  • Loading branch information
dmurphy18 and s0undt3ch committed Dec 4, 2023
1 parent 60a4fdb commit 6884678
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions salt/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -4369,9 +4369,6 @@ def render_state(self, sls, saltenv, mods, matches, local=False, context=None):
else:
include = state.pop("include")

# Keep track if the state only includes includes
empty_state_dict = len(state) == 0

self._handle_extend(state, sls, saltenv, errors)
self._handle_exclude(state, sls, saltenv, errors)
self._handle_state_decls(state, sls, saltenv, errors)
Expand Down

0 comments on commit 6884678

Please sign in to comment.