summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2024-05-22 12:12:50 -0500
committerGitHub <noreply@github.com>2024-05-22 12:12:50 -0500
commit5e7cf7dabe89090e251a662614655b2185243c0f (patch)
tree3e066838a5b4a2869e28002036ed9298ea5c4777
parent23a420194f4d0eb0177f05bd0a8c60e4f5214e54 (diff)
parent7bba95c8052af5b0cc5908cb9e740caa01b44161 (diff)
downloadvyos-1x-5e7cf7dabe89090e251a662614655b2185243c0f.tar.gz
vyos-1x-5e7cf7dabe89090e251a662614655b2185243c0f.zip
Merge pull request #3501 from dmbaturin/T6384-rollback-soft-help
rollback-soft: T6384: tell the user to compare or commit
-rw-r--r--python/vyos/config_mgmt.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/vyos/config_mgmt.py b/python/vyos/config_mgmt.py
index fc51d781c..70b6ea203 100644
--- a/python/vyos/config_mgmt.py
+++ b/python/vyos/config_mgmt.py
@@ -283,6 +283,8 @@ Proceed ?'''
rollback_ct = self._get_config_tree_revision(rev)
try:
load(rollback_ct, switch='explicit')
+ print('Rollback diff has been applied.')
+ print('Use "compare" to review the changes or "commit" to apply them.')
except LoadConfigError as e:
raise ConfigMgmtError(e) from e