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

Create config with user only permission #269

Merged
merged 2 commits into from Feb 8, 2023

Conversation

priteshbandi
Copy link
Contributor

Create config with user only permission

Signed-off-by: Pritesh Bandi pritesb@amazon.com

@codecov-commenter
Copy link

codecov-commenter commented Feb 3, 2023

Codecov Report

Merging #269 (15c4dad) into main (6ef3544) will increase coverage by 0.01%.
The diff coverage is 100.00%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##             main     #269      +/-   ##
==========================================
+ Coverage   73.23%   73.24%   +0.01%     
==========================================
  Files          23       23              
  Lines        1984     1985       +1     
==========================================
+ Hits         1453     1454       +1     
  Misses        429      429              
  Partials      102      102              
Impacted Files Coverage Δ
config/base.go 57.14% <100.00%> (+2.14%) ⬆️
config/keys.go 71.89% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

config/base.go Outdated Show resolved Hide resolved
config/base.go Outdated Show resolved Hide resolved
Signed-off-by: Pritesh Bandi <pritesb@amazon.com>
Comment on lines -151 to 153
if *s.Default == name {
if s.Default !=nil && *s.Default == name {
s.Default = nil
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is actually a bug(unable to delete key if defualt key is not present) fix which I found while working on this PR

Copy link
Contributor

@patrickzheng200 patrickzheng200 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

@gokarnm gokarnm left a comment

Choose a reason for hiding this comment

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

LGTM!

@priteshbandi priteshbandi merged commit 1b2ec27 into notaryproject:main Feb 8, 2023
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.

None yet

7 participants