diff options
author | John Estabrook <jestabro@vyos.io> | 2024-03-23 11:26:44 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-23 11:26:44 -0500 |
commit | 51ca65bade91d37419ac6fb3ba774cc27a3bcb65 (patch) | |
tree | a04f0bf5ff0682be3aca522e644b6e29cd378b57 /src/services/vyos-http-api-server | |
parent | 43b206c0fdf03fe236bf7715e2e45992284885f1 (diff) | |
parent | 50e9364575481335520f50dac834c74ef02ccfab (diff) | |
download | vyos-1x-51ca65bade91d37419ac6fb3ba774cc27a3bcb65.tar.gz vyos-1x-51ca65bade91d37419ac6fb3ba774cc27a3bcb65.zip |
Merge pull request #3172 from jestabro/config-sync-priority
config-sync: T6145: batch section requests for commit by priority
Diffstat (limited to 'src/services/vyos-http-api-server')
-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 |