Open MikaelElkiaer opened 11 months ago
Hi, thanks for reporting. I think that requires either some fallback logic to repair the index file or a signal handler for SIGTERM in the switcher binary that makes sure that the process only terminates after existing filesystem write operations are completed.
Workaround for me was rm -rf ~/.kube/switch-state/
, s clean
did not help.
Hi, love this tool and use it every day!
After adding a Vault KV2 store, I've started to sporadically seeing the following error:
It usually will occur after aborting a
switch
. Below is an example - theError: abort
is caused by a<C-c>
or<esc>
key press. After which I will just remove/home/me/.kube/switch-state/switch.filesystem.default.index
and it will work again for some time.