diff options
author | John Estabrook <jestabro@vyos.io> | 2024-03-22 15:06:30 -0500 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2024-03-22 20:44:51 -0500 |
commit | 50e9364575481335520f50dac834c74ef02ccfab (patch) | |
tree | 536d729a2e3c2f852d7e285b09691186d906d029 /src/services | |
parent | db08b6bd2300b125541e7eaa35e98ae5a2225111 (diff) | |
download | vyos-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-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 |