diff options
author | Christian Breunig <christian@breunig.cc> | 2024-02-02 09:39:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-02 09:39:34 +0100 |
commit | 5a9a4d5d34ac04d498e62e2537f3618d88ba08f3 (patch) | |
tree | be7b62abdbb0784e95af80b11d72f878f4d06744 /python | |
parent | b5a907135ef1943b4dbf8d195cae38cfff360d65 (diff) | |
parent | d9ed904b72fdf6641b0f7d5316207a99ef90a711 (diff) | |
download | vyos-1x-5a9a4d5d34ac04d498e62e2537f3618d88ba08f3.tar.gz vyos-1x-5a9a4d5d34ac04d498e62e2537f3618d88ba08f3.zip |
Merge pull request #2926 from indrajitr/sagitta-ddclient-T5966
ddclient: T5966: Adjust dynamic dns config address subpath (manual backport #2860)
Diffstat (limited to 'python')
-rw-r--r-- | python/vyos/opmode.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/python/vyos/opmode.py b/python/vyos/opmode.py index 230a85541..e1af1a682 100644 --- a/python/vyos/opmode.py +++ b/python/vyos/opmode.py @@ -1,4 +1,4 @@ -# Copyright 2022-2023 VyOS maintainers and contributors <maintainers@vyos.io> +# Copyright 2022-2024 VyOS maintainers and contributors <maintainers@vyos.io> # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -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|set)", name): + if re.match(r"^(show|clear|reset|restart|add|update|delete|generate|set)", name): return True else: return False @@ -275,4 +275,3 @@ def run(module): # Other functions should not return anything, # although they may print their own warnings or status messages func(**args) - |