Skip to content

Commit

Permalink
use pollingContext for data disk snapshot (#419)
Browse files Browse the repository at this point in the history
Co-authored-by: dreweasland <drew_easland@trekbikes.com>
  • Loading branch information
dreweasland and dreweasland authored May 28, 2024
1 parent 5e1cb75 commit 182e0b6
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 182e0b6

Please sign in to comment.