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 --- src/services/api/graphql/libs/op_mode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/services/api/graphql') diff --git a/src/services/api/graphql/libs/op_mode.py b/src/services/api/graphql/libs/op_mode.py index 211f8ce19..c1eb493db 100644 --- a/src/services/api/graphql/libs/op_mode.py +++ b/src/services/api/graphql/libs/op_mode.py @@ -30,7 +30,7 @@ def load_op_mode_as_module(name: str): return load_as_module(name, path) 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 return False -- cgit v1.2.3