mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Merge pull request #32408 from toddtomkinson/fix_fetch_uri_mismatch
remove "duplicate" fetch array when updating a marathon app
This commit is contained in:
commit
b80be476e7
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user