diff options
author | Daniil Baturin <daniil@baturin.org> | 2024-05-22 17:52:42 +0100 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-05-22 17:16:48 +0000 |
commit | b2ce6057473d6c7749f017cd3a6308cb9b7a2192 (patch) | |
tree | 123d0fe6f1422548af081ec151d9ebdc81ce0b39 /python | |
parent | 413fd63b631b1ddd098d9c25dd5268054e6d0674 (diff) | |
download | vyos-1x-b2ce6057473d6c7749f017cd3a6308cb9b7a2192.tar.gz vyos-1x-b2ce6057473d6c7749f017cd3a6308cb9b7a2192.zip |
rollback-soft: T6384: tell the user to compare or commit
after applying the diff
(cherry picked from commit 7bba95c8052af5b0cc5908cb9e740caa01b44161)
Diffstat (limited to 'python')
-rw-r--r-- | python/vyos/config_mgmt.py | 2 |
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 |