Skip to content

Commit

Permalink
Config not required for state overridden
Browse files Browse the repository at this point in the history
  • Loading branch information
mikewiebe committed Mar 27, 2024
1 parent 90e2ac0 commit 8389a19
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion plugins/modules/dcnm_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -2876,7 +2876,6 @@ def validate_input(self):

if (
state == "merged"
or state == "overridden"
or state == "replaced"
or state == "query"
):
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/dcnm_vrf.py
Original file line number Diff line number Diff line change
Expand Up @@ -2597,7 +2597,7 @@ def validate_input(self):
if "ip_address" not in attach:
msg = "ip_address is mandatory under attach parameters"
else:
if state == "merged" or state == "overridden" or state == "replaced":
if state == "merged" or state == "replaced":
msg = "config: element is mandatory for this state {0}".format(
state
)
Expand Down

0 comments on commit 8389a19

Please sign in to comment.