You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current version of marathon-python (0.9.2) generates COMMAND type protocol healthchecks command property as a string, but current version of marathon expects an object with the 'value' property:
Current:
{
"protocol": "COMMAND",
"command": "curl -f -X GET http://$HOST:$PORT0/health"
}
I can make a pull request to address this, but there are some questions:
This should be fixed or we should assume the we have to send the object in the correct format? (:-1:)
This should be fixed, but there must be a quick test to see if the received command is already an object to avoid breaking the code of those who are creating the like I am?
Just change the code to create the format expected by marathon and let people fix if they bump into some error?
The text was updated successfully, but these errors were encountered:
The current version of marathon-python (0.9.2) generates
COMMAND
type protocol healthchecks command property as a string, but current version of marathon expects an object with the 'value' property:Current:
Expected:
My workaround was to create the health check like this:
I can make a pull request to address this, but there are some questions:
The text was updated successfully, but these errors were encountered: