openstack4j icon indicating copy to clipboard operation
openstack4j copied to clipboard

Get volumes list with parameter - unexpected behavior

Open dd9971 opened this issue 2 years ago • 0 comments

Current Behavior

Calling client().blockStorage().volumes().list(Map.of("snapshot_id", snapshotId)) returns volumes with snapshot_id equal to null, not just the ones specifically requested.

Expected Behavior

Returning only volumes where 'snapshot_id' matches the requested value.

Environment

Maven dependency: com.github.openstack4j.core.connectors openstack4j-httpclient 3.11

Impact

Need using redundant filter for volumes list. Unexpected additional elements for future operations.

Steps to Reproduce

Just getting volumes list with some snapshot_id

dd9971 avatar Jan 16 '24 12:01 dd9971