mesosphere / marathon

Deploy and manage containers (including Docker) on top of Apache Mesos at scale.
https://mesosphere.github.io/marathon/
Apache License 2.0
4.07k stars 845 forks source link

Reject application json with undefined/superfluous json #2564

Closed discordianfish closed 8 years ago

discordianfish commented 8 years ago

It would be cool if the API would reject application json POSTs to the /v2/apps endpoint which contain superfluous elements. For instance I spend (too much) time debugging why my marathon application doesn't bind-mount it's volume until I realize that 'volumes' isn't child of 'docker' but directly on 'container'. If marathon would fail when it reads elements not defined, this class of errors would be much simpler to debug.

gkleiman commented 8 years ago

Duplicated of #2164.