diff options
author | Daniil Baturin <daniil@vyos.io> | 2023-01-10 15:24:42 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-10 15:24:42 +0000 |
commit | c86ed3df1e309b6a98de3ce88b508ea79453f9b1 (patch) | |
tree | 4f24bc1da40b457309989e4a9ab55933de471070 /src/services/api/graphql | |
parent | de686b3bee8ffb410142c9eeb2a7bf788316e513 (diff) | |
parent | ba4aebaaa816d810727ded073d3b09c1723cded7 (diff) | |
download | vyos-1x-c86ed3df1e309b6a98de3ce88b508ea79453f9b1.tar.gz vyos-1x-c86ed3df1e309b6a98de3ce88b508ea79453f9b1.zip |
Merge pull request #1744 from jestabro/container-op-mode
container: T4880: expose 'add/delete container image' in HTTP-API
Diffstat (limited to 'src/services/api/graphql')
-rw-r--r-- | src/services/api/graphql/libs/op_mode.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |