diff options
author | James E. Blair <jeblair@redhat.com> | 2018-04-27 14:00:20 -0700 |
---|---|---|
committer | James E. Blair <jeblair@redhat.com> | 2018-04-27 14:00:20 -0700 |
commit | e82db1264ee17983112bcdb45d8ac24023c3542a (patch) | |
tree | f7c6b24dd2586b9d48812257714840e271bd1f36 /etc/zuul-web.service | |
parent | 95c89f47a0a2ea6403f6603cccc3f4aead3d7a9e (diff) | |
download | zuul-e82db1264ee17983112bcdb45d8ac24023c3542a.tar.gz |
Coerce MappingProxyTypes in job vars to dicts
Mappingproxies are not json serializable, so go ahead and convert
them to dicts when we are freezing the job. Some of them need
already need to be converted in order to override values, so we
should be consistent in the output.
Also, because we were testing only that it was a dict instance,
the update wouldn't have worked anyway. Fix that, and expand a
test to cover deep dictionaries as job vars.
Change-Id: Ie34b8b583b0bdb2bcab4bac4d6b45b474cfcc8fe
Diffstat (limited to 'etc/zuul-web.service')
0 files changed, 0 insertions, 0 deletions