Commit e8a5766
committed
CMK-33267: send the customer field on host-group creation in ultimatemt
The ultimatemt edition requires a customer on config objects, so a bare
host-group POST is rejected:
400 ... "The customer field is required in this edition"
HostGroupsAPI.create was the one caller-facing group helper still posting
without it; users.create and passwords.create already guard the same way.
Follow that idiom so the helper works in every edition.
Fixes CMK-37915.
Change-Id: Icdf7c083092a1144af164e25687b4cef3df0f8c61 parent 96f6edc commit e8a5766
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
849 | 849 | | |
850 | 850 | | |
851 | 851 | | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
852 | 857 | | |
853 | 858 | | |
854 | | - | |
| 859 | + | |
855 | 860 | | |
856 | 861 | | |
857 | 862 | | |
| |||
0 commit comments