Skip to content

Commit 0862464

Browse files
authored
Adjust to a breaking change in ANF snapshot restore
1 parent d9ee2a0 commit 0862464

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

storage_drivers/azure/api/azure.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1493,7 +1493,7 @@ func (c Client) RestoreSnapshot(ctx context.Context, filesystem *FileSystem, sna
14931493
responseCtx := runtime.WithCaptureResponse(ctx, &rawResponse)
14941494

14951495
revertBody := netapp.VolumeRevert{
1496-
SnapshotID: convert.ToPtr(snapshot.SnapshotID),
1496+
SnapshotID: convert.ToPtr(snapshot.ID),
14971497
}
14981498

14991499
_, err := c.sdkClient.VolumesClient.BeginRevert(responseCtx,

0 commit comments

Comments
 (0)