summaryrefslogtreecommitdiff
path: root/src/services
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2024-03-22 15:06:30 -0500
committerJohn Estabrook <jestabro@vyos.io>2024-03-22 20:44:51 -0500
commit50e9364575481335520f50dac834c74ef02ccfab (patch)
tree536d729a2e3c2f852d7e285b09691186d906d029 /src/services
parentdb08b6bd2300b125541e7eaa35e98ae5a2225111 (diff)
downloadvyos-1x-50e9364575481335520f50dac834c74ef02ccfab.tar.gz
vyos-1x-50e9364575481335520f50dac834c74ef02ccfab.zip
config-sync: T6145: batch section requests for commit by priority
Diffstat (limited to 'src/services')
-rwxr-xr-xsrc/services/vyos-http-api-server2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/services/vyos-http-api-server b/src/services/vyos-http-api-server
index a7b14a1a3..77870a84c 100755
--- a/src/services/vyos-http-api-server
+++ b/src/services/vyos-http-api-server
@@ -463,7 +463,7 @@ def _configure_op(data: Union[ConfigureModel, ConfigureListModel,
endpoint = request.url.path
# Allow users to pass just one command
- if not isinstance(data, ConfigureListModel):
+ if not isinstance(data, (ConfigureListModel, ConfigSectionListModel)):
data = [data]
else:
data = data.commands