diff options
author | Daniil Baturin <daniil@vyos.io> | 2024-03-25 01:10:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-25 01:10:33 +0100 |
commit | 8080adc06579d6381ac12227cb4a5bf53cc06efc (patch) | |
tree | f4d62cc808e01d2adec10d70a1cf5b40b0a1a763 /src/services/vyos-http-api-server | |
parent | 52f88721f78f0f8bf9e97bb23c7cebfdd3884269 (diff) | |
parent | 036aa1fe8f2037725c082b8fc2597ffc52539d16 (diff) | |
download | vyos-1x-8080adc06579d6381ac12227cb4a5bf53cc06efc.tar.gz vyos-1x-8080adc06579d6381ac12227cb4a5bf53cc06efc.zip |
Merge pull request #3187 from vyos/mergify/bp/sagitta/pr-3172
config-sync: T6145: batch section requests for commit by priority (backport #3172)
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 |