From 26b567f7d9d0a8d54d8b8ed75377460ccee735eb Mon Sep 17 00:00:00 2001 From: Lillian Berry Date: Mon, 7 Aug 2023 16:45:13 -0400 Subject: [PATCH] fix get volume snapshots api call --- flaps/flaps_volumes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flaps/flaps_volumes.go b/flaps/flaps_volumes.go index 5663453f5d..8c8aa5d592 100644 --- a/flaps/flaps_volumes.go +++ b/flaps/flaps_volumes.go @@ -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) }