Skip to content

Comments

Implementing delete volume queue & prioritization#18

Open
kavyamani596 wants to merge 5 commits intotask_support_for_resourcesfrom
sprint-69-odim-7215
Open

Implementing delete volume queue & prioritization#18
kavyamani596 wants to merge 5 commits intotask_support_for_resourcesfrom
sprint-69-odim-7215

Conversation

@kavyamani596
Copy link
Owner

No description provided.

@kavyamani596 kavyamani596 changed the base branch from BRUCE-7215 to task_support_for_resources March 17, 2023 07:59
@kavyamani596 kavyamani596 changed the title Implementing delte volume queue & prioritization Implementing delete volume queue & prioritization Mar 17, 2023
DevicePassword: common.DecryptWithPrivateKey,
UpdateTask: s.UpdateTask,
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

increment thread count in context here

data := s.EI.DeleteVolume(ctx, req)
fillSystemProtoResponse(ctx, &resp, data)
go s.EI.DeleteVolume(ctx, req, &pc, taskID)
// fillSystemProtoResponse(ctx, &resp, data)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove the commented code


var targetURI = "/redfish/v1/Systems/" + req.SystemID + "/Storage/" + req.StorageInstance + "/Volumes" + req.VolumeID
//create task
taskInfo := &common.TaskUpdateInfo{TaskID: taskID, TargetURI: targetURI,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add context in taskupdateInfo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants