-
Notifications
You must be signed in to change notification settings - Fork 43
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
Conversation
Codecov Report
📣 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
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Signed-off-by: Pritesh Bandi <pritesb@amazon.com>
if *s.Default == name { | ||
if s.Default !=nil && *s.Default == name { | ||
s.Default = nil | ||
} |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Create config with user only permission
Signed-off-by: Pritesh Bandi pritesb@amazon.com