Skip to content

Commit

Permalink
Placeholder/reminder commit
Browse files Browse the repository at this point in the history
.. update api to 4.x and submit delete files task as user
and remove comment above.
  • Loading branch information
venkatsc committed Feb 3, 2025
1 parent e2511bb commit 4b540f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/driver/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,7 @@ func (d *QuobyteDriver) DeleteVolume(ctx context.Context, req *csi.DeleteVolumeR
req := &quobyte.CreateTaskRequest{}
req.RestrictToVolumes = []string{volumeIdParts[1]}
req.TaskType = quobyte.TaskType_DELETE_FILES_IN_VOLUMES
// place-holder comment - remove once fixed!!!
req.DeleteFilesSettings = quobyte.DeleteFilesSettings{}
req.DeleteFilesSettings.DirectoryPath = "/" + volumeIdParts[2]
_, err = quobyteClient.CreateTask(req)
Expand Down

0 comments on commit 4b540f7

Please sign in to comment.