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. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| config_exception.py | ||
| dateutil_test.py | ||
| dateutil.py | ||
| exec_provider_test.py | ||
| exec_provider.py | ||
| incluster_config_test.py | ||
| incluster_config.py | ||
| kube_config_test.py | ||
| kube_config.py | ||