diff options
author | John Estabrook <jestabro@vyos.io> | 2024-03-22 15:06:30 -0500 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-03-25 00:06:50 +0000 |
commit | 036aa1fe8f2037725c082b8fc2597ffc52539d16 (patch) | |
tree | f4d62cc808e01d2adec10d70a1cf5b40b0a1a763 /src/services | |
parent | 52f88721f78f0f8bf9e97bb23c7cebfdd3884269 (diff) | |
download | vyos-1x-036aa1fe8f2037725c082b8fc2597ffc52539d16.tar.gz vyos-1x-036aa1fe8f2037725c082b8fc2597ffc52539d16.zip |
config-sync: T6145: batch section requests for commit by priority
(cherry picked from commit 50e9364575481335520f50dac834c74ef02ccfab)
Diffstat (limited to 'src/services')
-rwxr-xr-x | src/services/vyos-http-api-server | 2 |
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 |