Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kms: refactor functions to accept a context parameter #4477

Merged
merged 1 commit into from
Mar 12, 2024

Conversation

iPraveenParihar
Copy link
Contributor

Fixes: #4476

Future concerns

Checklist:

  • Commit Message Formatting: Commit titles and messages follow
    guidelines in the developer
    guide
    .
  • Reviewed the developer guide on Submitting a Pull Request
  • Pending release notes updated with breaking and/or notable changes for the next major release.
  • Documentation has been updated, if necessary.
  • Unit tests have been added, if necessary.
  • Integration tests have been added, if necessary.

Show available bot commands

These commands are normally not required, but in case of issues, leave any of
the following bot commands in an otherwise empty comment in this PR:

  • /retest ci/centos/<job-name>: retest the <job-name> after unrelated
    failure (please report the failure too!)

@iPraveenParihar
Copy link
Contributor Author

/test ci/centos/k8s-e2e-external-storage/1.27

nixpanic
nixpanic previously approved these changes Mar 7, 2024
Copy link
Member

@nixpanic nixpanic left a comment

Choose a reason for hiding this comment

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

Looks good to me. What is the reason to have it as a draft/wip?

@iPraveenParihar iPraveenParihar marked this pull request as ready for review March 8, 2024 05:50
@iPraveenParihar iPraveenParihar changed the title [WIP] kms: refactor functions to accept a context parameter kms: refactor functions to accept a context parameter Mar 8, 2024
@nixpanic nixpanic requested a review from a team March 8, 2024 11:55
@nixpanic
Copy link
Member

nixpanic commented Mar 8, 2024

@Mergifyio rebase

Copy link
Contributor

mergify bot commented Mar 8, 2024

rebase

✅ Branch has been successfully rebased

@@ -55,11 +56,12 @@ func TestKMSWorkflow(t *testing.T) {
assert.Equal(t, kms.DefaultKMSType, ve.GetID())

volumeID := "volume-id"
ctx := context.Background()
Copy link
Collaborator

Choose a reason for hiding this comment

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

use context.TODO

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@mergify mergify bot dismissed nixpanic’s stale review March 12, 2024 09:30

Pull request has been modified.

@nixpanic nixpanic requested review from Madhu-1 and a team March 12, 2024 09:52
@Rakshith-R
Copy link
Contributor

@Mergifyio rebase
@Mergifyio queue

Signed-off-by: Praveen M <m.praveen@ibm.com>
Copy link
Contributor

mergify bot commented Mar 12, 2024

rebase

✅ Branch has been successfully rebased

@iPraveenParihar
Copy link
Contributor Author

@Mergifyio queue

Copy link
Contributor

mergify bot commented Mar 12, 2024

queue

✅ The pull request has been merged automatically

The pull request has been merged automatically at e345b26

@mergify mergify bot added the ok-to-test Label to trigger E2E tests label Mar 12, 2024
@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/k8s-e2e-external-storage/1.28

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/k8s-e2e-external-storage/1.27

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/k8s-e2e-external-storage/1.29

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/upgrade-tests-cephfs

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/mini-e2e-helm/k8s-1.28

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/mini-e2e-helm/k8s-1.27

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/upgrade-tests-rbd

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/mini-e2e-helm/k8s-1.29

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/mini-e2e/k8s-1.28

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/mini-e2e/k8s-1.27

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/mini-e2e/k8s-1.29

@ceph-csi-bot ceph-csi-bot removed the ok-to-test Label to trigger E2E tests label Mar 12, 2024
@mergify mergify bot merged commit e345b26 into ceph:devel Mar 12, 2024
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

please add the context for the other DEKStore functions too.
5 participants