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

fix: ignore error when key not found in keys delete #1312

Merged
merged 3 commits into from
Mar 27, 2024

Conversation

170210
Copy link
Contributor

@170210 170210 commented Mar 27, 2024

Description

If you provide a list of keys to the keys delete command, it will stop and fail if one of those keys is not found.

This pr cherry-pick the following pr:

Motivation and context

How has this been tested?

Screenshots (if appropriate):

Checklist:

  • I followed the contributing guidelines and code of conduct.
  • I have added a relevant changelog to CHANGELOG.md
  • I have added tests to cover my changes.
  • I have updated the documentation accordingly.
  • I have updated API documentation client/docs/swagger-ui/swagger.yaml

@CLAassistant
Copy link

CLAassistant commented Mar 27, 2024

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ 170210
❌ JulianToledano
You have signed the CLA already but the status is still pending? Let us recheck it.

Copy link

codecov bot commented Mar 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.41%. Comparing base (05ff4ea) to head (495b1f8).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1312      +/-   ##
==========================================
- Coverage   70.41%   70.41%   -0.01%     
==========================================
  Files         643      643              
  Lines       54758    54759       +1     
==========================================
  Hits        38560    38560              
- Misses      14023    14024       +1     
  Partials     2175     2175              
Files Coverage Δ
client/keys/delete.go 74.28% <100.00%> (+0.75%) ⬆️

... and 1 file with indirect coverage changes

@170210 170210 marked this pull request as ready for review March 27, 2024 08:19
Signed-off-by: 170210 <j170210@icloud.com>
@170210 170210 merged commit e5709f3 into Finschia:main Mar 27, 2024
55 of 56 checks passed
mergify bot pushed a commit that referenced this pull request Mar 27, 2024
* fix(client/keys): don't return when key not found in keys delete  (#18562)

* chore: update CHANGLOG.md

Signed-off-by: 170210 <j170210@icloud.com>

---------

Signed-off-by: 170210 <j170210@icloud.com>
Co-authored-by: Julián Toledano <JulianToledano@users.noreply.github.com>
(cherry picked from commit e5709f3)

# Conflicts:
#	CHANGELOG.md
0Tech added a commit that referenced this pull request Mar 29, 2024
…1315)

* fix: ignore error when key not found in keys delete (#1312)

* fix(client/keys): don't return when key not found in keys delete  (#18562)

* chore: update CHANGLOG.md

Signed-off-by: 170210 <j170210@icloud.com>

---------

Signed-off-by: 170210 <j170210@icloud.com>
Co-authored-by: Julián Toledano <JulianToledano@users.noreply.github.com>
(cherry picked from commit e5709f3)

# Conflicts:
#	CHANGELOG.md

* Update CHANGELOG.md

---------

Co-authored-by: 170210 <85928898+170210@users.noreply.github.com>
Co-authored-by: Youngtaek Yoon <noreply@yoon.mailer.me>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants