-
Notifications
You must be signed in to change notification settings - Fork 50
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
Fix 99 move host #147
Fix 99 move host #147
Conversation
@robin-tribe29: Not sure why the "Tests for roles" are failing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For me host creation still fails with the following error, if the host exists:
fatal: [test9.tld -> localhost]: FAILED! => {"changed": false, "msg": "Error calling API. HTTP code 400. Details: b'{\"title\": \"Invalid move action\", \"status\": 400, \"detail\": \"The host is already part of the specified target folder\"}', "}
Other than that all looks good.
There was another point in the code where a heading "/" was added. Removed that line. Looks good now in my tests. |
…ion-tribe29.checkmk into fix-99-move-host
I'll run a few tests too, but it looks promising now! 🎉 |
Pull request type
Please check the type of change your PR introduces:
What is the current behavior?
Issue Number: #99
When a host was modified and stayed in the same folder, an
Error calling API. HTTP code 400. Details: b'{"title": "Invalid move action", "status": 400, "detail": "The host is already part of the specified target folder"}'
Was raised.
What is the new behavior?
Other information