diff options
author | John Estabrook <jestabro@vyos.io> | 2023-06-06 18:54:33 -0500 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2023-06-06 22:22:58 -0500 |
commit | 83c8bcd9ddd875d7f7c6d101c67fe3eb35d76629 (patch) | |
tree | 37fa380afb3428bd092df32fd848878edc999bc3 /src | |
parent | 39b9959de61f407b5f25c24578a649c348ae3426 (diff) | |
download | vyos-1x-83c8bcd9ddd875d7f7c6d101c67fe3eb35d76629.tar.gz vyos-1x-83c8bcd9ddd875d7f7c6d101c67fe3eb35d76629.zip |
config-mgmt: T5262: move function 'unsaved_commits' to module scope
The function 'unsaved_commits' was added in config_mgmt to warn a user
of unsaved commits before commit-confirm, as that entails a possible
reboot. As it has other uses and no dependence on the object itself,
move to module scope. For general use, add simple check for live image
to avoid false positive, due to config migration reformatting.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions