Merge pull request #32408 from toddtomkinson/fix_fetch_uri_mismatch

remove "duplicate" fetch array when updating a marathon app
This commit is contained in:
Nicole Thomas 2016-04-07 09:05:03 -06:00
commit b80be476e7

View File

@ -98,6 +98,9 @@ def update_app(id, config):
if 'id' not in config: if 'id' not in config:
config['id'] = id config['id'] = id
config.pop('version', None) config.pop('version', None)
# mirror marathon-ui handling for uris deprecation (see
# mesosphere/marathon-ui#594 for more details)
config.pop('fetch', None)
data = json.dumps(config) data = json.dumps(config)
try: try:
response = salt.utils.http.query( response = salt.utils.http.query(