Skip to content

Commit

Permalink
Merge pull request #686 from msekania/fix-cutomer-field-tretment
Browse files Browse the repository at this point in the history
Fix customer field treatment #685
  • Loading branch information
robin-checkmk authored Oct 23, 2024
2 parents 4bf0b4b + d7fd7b6 commit 6597ef7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion plugins/modules/contact_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ def create_contact_groups(module, base_url, groups, headers):
{
"name": el.get("name"),
"alias": el.get("title", el.get("name")),
"customer": el.get("customer", "provider"),
"customer": module.params.get("customer"),
}
for el in groups
],
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/host_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ def create_host_groups(module, base_url, groups, headers):
{
"name": el.get("name"),
"alias": el.get("title", el.get("name")),
"customer": el.get("customer", "provider"),
"customer": module.params.get("customer"),
}
for el in groups
],
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/service_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ def create_service_groups(module, base_url, groups, headers):
{
"name": el.get("name"),
"alias": el.get("title", el.get("name")),
"customer": el.get("customer", "provider"),
"customer": module.params.get("customer"),
}
for el in groups
],
Expand Down

0 comments on commit 6597ef7

Please sign in to comment.