This repository has been archived by the owner on Oct 23, 2024. It is now read-only.
Including docker container information and a blank CMD field in an app JSON breaks PUT updates but not POST app creations #1630
Milestone
If include Docker container information in your JSON and "cmd": "", then using POST to create the app in Marathon will work, but using PUT to update it throws the error:
"AppDefinition must either contain one of 'cmd' or 'args', and/or a 'container'."
If you remove the "cmd": "" from the JSON the PUT update for the app works.
Marathon should behave identically in both cases when "cmd": "" is provided, either throwing an error in both cases or never throwing an error for that. I would argue that it should not throw the error like the current functionality of the POST command.
The text was updated successfully, but these errors were encountered: