Skip to content

Conversation

@ecrupper
Copy link
Contributor

The UI already prevents this by trimming, but you can still create secrets that are solely whitespace via the API endpoint.

@ecrupper ecrupper self-assigned this Feb 15, 2022
@ecrupper ecrupper requested a review from a team as a code owner February 15, 2022 18:37
@codecov
Copy link

codecov bot commented Feb 15, 2022

Codecov Report

Merging #588 (21853d0) into master (3f5f628) will decrease coverage by 0.05%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #588      +/-   ##
==========================================
- Coverage   54.44%   54.38%   -0.06%     
==========================================
  Files         181      181              
  Lines       15136    15152      +16     
==========================================
  Hits         8241     8241              
- Misses       6578     6594      +16     
  Partials      317      317              
Impacted Files Coverage Δ
api/secret.go 0.00% <0.00%> (ø)

dtanner
dtanner previously approved these changes Feb 17, 2022
@jbrockopp jbrockopp added the bug Indicates a bug label Feb 17, 2022
Copy link
Contributor

@jbrockopp jbrockopp left a comment

Choose a reason for hiding this comment

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

The code LGTM but wondering if we should rephrase the error message.

Copy link
Contributor

@jbrockopp jbrockopp left a comment

Choose a reason for hiding this comment

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

LGTM

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.

5 participants