python/config
Fabrice Rabaute 64662bb738
config: Fix persist_config flag and function calls
The persist_config flag was setting the kwargs['config_persister'] to
the result of the function kcfg.save_changes and not the function
kcfg.save_changes itself.

Once this is fixed, the second problem was that the function was called
with an argument when it's defined without argument so an exception was
raised.
2020-01-14 14:23:16 -08:00
..
__init__.py Remove all shebangs from Python modules and checker 2019-08-27 22:18:52 +02:00
config_exception.py Remove all shebangs from Python modules and checker 2019-08-27 22:18:52 +02:00
dateutil_test.py Remove all shebangs from Python modules and checker 2019-08-27 22:18:52 +02:00
dateutil.py Remove all shebangs from Python modules and checker 2019-08-27 22:18:52 +02:00
exec_provider_test.py Remove all shebangs from Python modules and checker 2019-08-27 22:18:52 +02:00
exec_provider.py Remove all shebangs from Python modules and checker 2019-08-27 22:18:52 +02:00
incluster_config_test.py Remove all shebangs from Python modules and checker 2019-08-27 22:18:52 +02:00
incluster_config.py Remove all shebangs from Python modules and checker 2019-08-27 22:18:52 +02:00
kube_config_test.py config: Fix persist_config flag and function calls 2020-01-14 14:23:16 -08:00
kube_config.py config: Fix persist_config flag and function calls 2020-01-14 14:23:16 -08:00