Skip to content

Commit 82b14fb

Browse files
authored
Merge pull request #3503 from vyos/mergify/bp/sagitta/pr-3501
rollback-soft: T6384: tell the user to compare or commit (backport #3501)
2 parents 413fd63 + b2ce605 commit 82b14fb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

python/vyos/config_mgmt.py

+2
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,8 @@ def rollback_soft(self, rev: int):
283283
rollback_ct = self._get_config_tree_revision(rev)
284284
try:
285285
load(rollback_ct, switch='explicit')
286+
print('Rollback diff has been applied.')
287+
print('Use "compare" to review the changes or "commit" to apply them.')
286288
except LoadConfigError as e:
287289
raise ConfigMgmtError(e) from e
288290

0 commit comments

Comments
 (0)