filter by volume ids (#10983)

* filter by volume ids

* master: carry the volume ids VolumeList asks about in one repeated field

One id and a list of them ask the same question, so field 2 holds the list
rather than standing beside a second field that supersedes it.

Claude-Session: https://claude.ai/code/session_011qAmAdhrYvnzGkw7A9N4mP

---------

Co-authored-by: Chris Lu <chris.lu@gmail.com>
This commit is contained in:
Guang Jiong Lou
2026-08-28 20:43:29 -07:00
committed by GitHub
co-authored by Chris Lu
parent 3967ca23be
commit 93666c90e9
7 changed files with 134 additions and 29 deletions
+1 -1
View File
@@ -412,7 +412,7 @@ message VolumeListRequest {
// under a disk are selected; the topology and its disk counters are always
// reported in full.
string collection = 1;
uint32 volume_id = 2;
repeated uint32 volume_ids = 2;
// The one collection the empty string cannot name. A named collection wins.
bool default_collection_only = 3;
// Empty and zero take everything. Wildcards are supported.