Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
BarkovBG committed Jan 30, 2024
1 parent 0d87ce5 commit ec543c0
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,14 +98,11 @@ func (t *retireBaseDisksTask) Run(
idempotencyKey := fmt.Sprintf("%v_%v", execCtx.GetTaskID(), baseDiskID)

var srcDisk *types.Disk
var srcDiskCheckpointID string
if t.request.UseBaseDiskAsSrc {
srcDisk = &types.Disk{
ZoneId: zoneID,
DiskId: baseDiskID,
}
// Note: we use image id as checkpoint id.
srcDiskCheckpointID = imageID
}

taskID, err := t.scheduler.ScheduleTask(
Expand Down

0 comments on commit ec543c0

Please sign in to comment.