Skip to content

Conversation

@ecrupper
Copy link
Contributor

When trying to update a secret to handle more events, I received a 400 because I wanted to keep the value of the secret the same. In other words, we already handle whitespace updates by simply keeping the original secret value — we don't need this check; in fact, it's just a bug if we leave it.

@ecrupper ecrupper added the bug Indicates a bug label Feb 26, 2022
@ecrupper ecrupper self-assigned this Feb 26, 2022
@ecrupper ecrupper requested a review from a team as a code owner February 26, 2022 20:20
@codecov
Copy link

codecov bot commented Feb 26, 2022

Codecov Report

Merging #598 (c69ff97) into master (700c56f) will increase coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #598      +/-   ##
==========================================
+ Coverage   54.32%   54.35%   +0.02%     
==========================================
  Files         181      181              
  Lines       15177    15169       -8     
==========================================
  Hits         8245     8245              
+ Misses       6615     6607       -8     
  Partials      317      317              
Impacted Files Coverage Δ
api/secret.go 0.00% <ø> (ø)

Copy link
Contributor

@KellyMerrick KellyMerrick left a comment

Choose a reason for hiding this comment

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

lgtm

@ecrupper ecrupper merged commit d71799c into master Mar 3, 2022
@ecrupper ecrupper deleted the fix/update-secret-fix branch March 3, 2022 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Indicates a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants