diff options
author | John Estabrook <jestabro@vyos.io> | 2023-01-09 14:39:27 -0600 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2023-01-09 14:50:20 -0600 |
commit | 2fc4f15353eb9ec3788693b87cd2b8fee1d4eafa (patch) | |
tree | 21a2d91f548b485ea611189e8b109e24de9db438 /python | |
parent | 91e0ad075586d27e51a354dbe057d04957b30168 (diff) | |
download | vyos-1x-2fc4f15353eb9ec3788693b87cd2b8fee1d4eafa.tar.gz vyos-1x-2fc4f15353eb9ec3788693b87cd2b8fee1d4eafa.zip |
container: T4880: include 'add'/'delete' in standard 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 5ff768859..17a9ab581 100644 --- a/python/vyos/opmode.py +++ b/python/vyos/opmode.py @@ -66,7 +66,7 @@ class InternalError(Error): def _is_op_mode_function_name(name): - if re.match(r"^(show|clear|reset|restart)", name): + if re.match(r"^(show|clear|reset|restart|add|delete)", name): return True else: return False |