Skip to content

Commit

Permalink
fix get volume snapshots api call
Browse files Browse the repository at this point in the history
  • Loading branch information
lillianberryfly committed Aug 7, 2023
1 parent d5923a0 commit 26b567f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flaps/flaps_volumes.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func (f *Client) GetVolumeSnapshots(ctx context.Context, volumeId string) ([]api

out := make([]api.VolumeSnapshot, 0)

err := f.sendRequestVolumes(ctx, http.MethodGet, getVolumeSnapshotsEndpoint, nil, out, nil)
err := f.sendRequestVolumes(ctx, http.MethodGet, getVolumeSnapshotsEndpoint, nil, &out, nil)
if err != nil {
return nil, fmt.Errorf("failed to get volume %s snapshots: %w", volumeId, err)
}
Expand Down

0 comments on commit 26b567f

Please sign in to comment.