diff options
author | Christian Breunig <christian@breunig.cc> | 2023-01-25 14:26:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-25 14:26:47 +0100 |
commit | 7634e16dcaaf4e08dec8bd9b92c6e731c32ef7cd (patch) | |
tree | 71aae1a4cfcb1b7eb8cfb4a75aa2ca01baaf538c /python | |
parent | cf128449bac7f753d7853636758a74f370490ff3 (diff) | |
parent | 9d2646ef2c8228f92baf646814f1f8f1b4e7d09a (diff) | |
download | vyos-1x-7634e16dcaaf4e08dec8bd9b92c6e731c32ef7cd.tar.gz vyos-1x-7634e16dcaaf4e08dec8bd9b92c6e731c32ef7cd.zip |
Merge pull request #1778 from dmbaturin/T4950-op-mode-set
opmode: T4950: add set to the list of op mode functions
Diffstat (limited to 'python')
-rw-r--r-- | python/vyos/opmode.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/opmode.py b/python/vyos/opmode.py index af2c7b28b..d02ad4de6 100644 --- a/python/vyos/opmode.py +++ b/python/vyos/opmode.py @@ -81,7 +81,7 @@ class InternalError(Error): def _is_op_mode_function_name(name): - if re.match(r"^(show|clear|reset|restart|add|delete|generate)", name): + if re.match(r"^(show|clear|reset|restart|add|delete|generate|set)", name): return True else: return False |