Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

icinga2_host: fix a key error when modifying an existing host #6748

Merged
merged 5 commits into from
Jun 20, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
icinga2_host: fix a key error when updating a host
  • Loading branch information
yoannlr committed Jun 20, 2023
commit d3849ebbe573896545fc5b576dc3edc382ce3f1c
2 changes: 1 addition & 1 deletion plugins/modules/icinga2_host.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ def main():
module.exit_json(changed=False, name=name, data=data)

# Template attribute is not allowed in modification
del data['attrs']['templates']
del data['templates']

ret = icinga.modify(name, data)

Expand Down