diff options
author | Christian Breunig <christian@breunig.cc> | 2023-12-09 21:37:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-09 21:37:24 +0100 |
commit | 8258fedac0c38101051e660a37cb62fbdf6b4bce (patch) | |
tree | a82dc55034bfb98c1b494a6262c755b92104a3ce /python | |
parent | 2778f53cc1f9f03a6c145e45082ca95ba21a1a96 (diff) | |
parent | f019ed91b5444d2f446ca4f7332602c03a074190 (diff) | |
download | vyos-1x-8258fedac0c38101051e660a37cb62fbdf6b4bce.tar.gz vyos-1x-8258fedac0c38101051e660a37cb62fbdf6b4bce.zip |
Merge pull request #2598 from sever-sever/T5812
T5812: Fix for rollback check max revision number
Diffstat (limited to 'python')
-rw-r--r-- | python/vyos/config_mgmt.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/config_mgmt.py b/python/vyos/config_mgmt.py index df7240c88..950f14d4f 100644 --- a/python/vyos/config_mgmt.py +++ b/python/vyos/config_mgmt.py @@ -233,7 +233,7 @@ Proceed ?''' msg = '' if not self._check_revision_number(rev): - msg = f'Invalid revision number {rev}: must be 0 < rev < {maxrev}' + msg = f'Invalid revision number {rev}: must be 0 < rev < {self.max_revisions}' return msg, 1 prompt_str = 'Proceed with reboot ?' |