Skip to content

Commit

Permalink
use pollingContext for data disk snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
dreweasland committed May 24, 2024
1 parent 5e1cb75 commit 4f2a228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builder/azure/arm/step_snapshot_data_disks.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func (s *StepSnapshotDataDisks) createDataDiskSnapshot(ctx context.Context, subs
return err
}

snapshot, err := s.client.SnapshotsClient.Get(ctx, id)
snapshot, err := s.client.SnapshotsClient.Get(pollingContext, id)
if err != nil {
s.say(s.client.LastError.Error())
return err
Expand Down

0 comments on commit 4f2a228

Please sign in to comment.