Skip to content

Get volumes list with parameter - unexpected behavior #225

@dd9971

Description

@dd9971

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions