From 2fc4f15353eb9ec3788693b87cd2b8fee1d4eafa Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Mon, 9 Jan 2023 14:39:27 -0600 Subject: container: T4880: include 'add'/'delete' in standard op-mode functions --- python/vyos/opmode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/vyos/opmode.py') 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 -- cgit v1.2.3