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(vault): fix for integer64 fields #1083

Merged
merged 1 commit into from
Mar 14, 2024

Conversation

ecrupper
Copy link
Contributor

Vault was turning our int64 inputs into json.Number outputs, which caused all the type checking to fail and set those values to 0.

Also added a test to confirm existence of fields for library.Secret in api.Secret data

@ecrupper ecrupper requested a review from a team as a code owner March 14, 2024 21:49
Copy link

codecov bot commented Mar 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 62.57%. Comparing base (270dee4) to head (1d2c844).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1083      +/-   ##
==========================================
+ Coverage   62.52%   62.57%   +0.04%     
==========================================
  Files         345      345              
  Lines       10260    10273      +13     
==========================================
+ Hits         6415     6428      +13     
  Misses       3368     3368              
  Partials      477      477              
Files Coverage Δ
secret/vault/vault.go 96.83% <100.00%> (+0.28%) ⬆️

Copy link
Member

@wass3rw3rk wass3rw3rk left a comment

Choose a reason for hiding this comment

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

great test additions too 🥇

@ecrupper ecrupper merged commit aa44bf3 into main Mar 14, 2024
11 of 13 checks passed
@ecrupper ecrupper deleted the fix/secret/vault/rectify-field-disparities branch March 14, 2024 22:46
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.

3 participants