fix(openapi): rename ImageListParams.globs to names #86

Merged
vitalif merged 1 commits from epicstyt/vitastor:fix-openapi-imagelist-globs into master 2026-09-02 20:32:37 +03:00
Contributor

Description

/image/list is served by ls, which reads cfg["names"] (src/cmd/cli_ls.cpp:597) — nothing anywhere reads globs, so the documented filter is accepted and silently ignored.

Contributor Name

Stepan Rabotkin

CLA

### Description `/image/list` is served by `ls`, which reads `cfg["names"]` (`src/cmd/cli_ls.cpp:597`) — nothing anywhere reads `globs`, so the documented filter is accepted and silently ignored. ### Contributor Name Stepan Rabotkin ### CLA - [x] I accept Vitastor CLA agreement: https://git.yourcmc.ru/vitalif/vitastor/src/branch/master/CLA-en.md
epicstyt added 1 commit 2026-09-02 20:31:06 +03:00
fix(openapi): rename ImageListParams.globs to names
All checks were successful
Test / test_enospc_imm_xor (push) Successful in 23s
Test / test_old_enospc (push) Successful in 22s
Test / test_heal_csum_4k (push) Successful in 2m39s
Test / test_old_enospc_xor (push) Successful in 19s
Test / test_old_enospc_imm (push) Successful in 19s
Test / test_old_enospc_imm_xor (push) Successful in 26s
Test / test_scrub (push) Successful in 26s
Test / test_scrub_zero_osd_2 (push) Successful in 29s
Test / test_scrub_xor (push) Successful in 29s
Test / test_scrub_pg_size_3 (push) Successful in 25s
Test / test_scrub_pg_size_6_pg_minsize_4_osd_count_6_ec (push) Successful in 28s
Test / test_scrub_ec (push) Successful in 28s
Test / test_old_scrub (push) Successful in 27s
Test / test_old_scrub_zero_osd_2 (push) Successful in 30s
Test / test_old_scrub_xor (push) Successful in 33s
Test / test_old_scrub_pg_size_3 (push) Successful in 29s
Test / test_old_scrub_pg_size_6_pg_minsize_4_osd_count_6_ec (push) Successful in 30s
Test / test_old_scrub_ec (push) Successful in 29s
Test / test_old_partwr_csum (push) Successful in 21s
Test / test_heal_old_csum_32k_dmj (push) Successful in 2m35s
Test / test_heal_old_csum_32k_dj (push) Successful in 2m36s
Test / test_heal_old_csum_32k (push) Successful in 2m32s
Test / test_heal_old_csum_4k_dmj (push) Successful in 2m35s
Test / test_nfs (push) Successful in 25s
Test / test_nfs_unaligned_append (push) Successful in 25s
Test / test_write_encrypted (push) Successful in 34s
Test / test_nfs_long_readdir (push) Successful in 1m3s
Test / test_write_encrypted_ec (push) Successful in 40s
Test / test_heal_old_csum_4k_dj (push) Successful in 2m26s
Test / test_heal_old_csum_4k (push) Successful in 2m35s
5c45425235
/image/list is served by ls, which reads cfg["names"]
(src/cmd/cli_ls.cpp:597). Nothing reads "globs", so the documented
filter was accepted and silently ignored.

Signed-off-by: Stepan Rabotkin <epicstyt@gmail.com>
vitalif merged commit 5c45425235 into master 2026-09-02 20:32:37 +03:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: vitalif/vitastor#86
No description provided.