summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-route-map.xml.in
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2023-06-06 18:54:33 -0500
committerJohn Estabrook <jestabro@vyos.io>2023-06-06 22:22:58 -0500
commit83c8bcd9ddd875d7f7c6d101c67fe3eb35d76629 (patch)
tree37fa380afb3428bd092df32fd848878edc999bc3 /op-mode-definitions/show-route-map.xml.in
parent39b9959de61f407b5f25c24578a649c348ae3426 (diff)
downloadvyos-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 'op-mode-definitions/show-route-map.xml.in')
0 files changed, 0 insertions, 0 deletions