congress/congress/cfg_validator/agent
Eric Kao 9abf99939b Fix inconsistent OptionJsonEncoder behavior on unknown type
Update OptionJsonEncoder to encode an unknown type as the expected
{'type': 'type_name'} rather than as 'type_name', fixing an error
encountered by related code that expects to index into the generated
dict construct.

Also updated congress agent tolerate unknown (custom) types instead
of exiting completely.

This reverts commit 69848285c8.

Change-Id: Ie18967b1b4191c43e00817d7661cc4b5efd247be
Closes-Bug: 1819248
2019-03-12 21:07:07 +00:00
..
__init__.py eventlet workaround to avoid import cycle issue 2018-02-01 18:47:01 -08:00
agent.py Fix inconsistent OptionJsonEncoder behavior on unknown type 2019-03-12 21:07:07 +00:00
generator.py Fix inconsistent OptionJsonEncoder behavior on unknown type 2019-03-12 21:07:07 +00:00
opts.py Agent for configuration file validation 2017-12-05 18:17:59 +01:00
rpc.py Agent for configuration file validation 2017-12-05 18:17:59 +01:00