Skip to content
This repository was archived by the owner on Nov 1, 2023. It is now read-only.

Handle the case where the secret is not serialized as json#3223

Merged
tevoinea merged 1 commit into
microsoft:mainfrom
tevoinea:tevoinea/FixCaseWhereSecretIsJustString
Jun 23, 2023
Merged

Handle the case where the secret is not serialized as json#3223
tevoinea merged 1 commit into
microsoft:mainfrom
tevoinea:tevoinea/FixCaseWhereSecretIsJustString

Conversation

@tevoinea

@tevoinea tevoinea commented Jun 23, 2023

Copy link
Copy Markdown
Contributor

Summary of the Pull Request

What is this about?

We were assuming the data stored in keyvault is json but we sometimes store strings as well. When we would attempt to deserialize the string, we'd get an error that it's invalid json.

@codecov-commenter

codecov-commenter commented Jun 23, 2023

Copy link
Copy Markdown

Codecov Report

Merging #3223 (13aaa37) into main (a941020) will decrease coverage by 0.01%.
The diff coverage is 25.00%.

@@            Coverage Diff             @@
##             main    #3223      +/-   ##
==========================================
- Coverage   29.54%   29.54%   -0.01%     
==========================================
  Files         332      332              
  Lines       39195    39197       +2     
==========================================
  Hits        11582    11582              
- Misses      27613    27615       +2     
Impacted Files Coverage Δ
src/ApiService/ApiService/onefuzzlib/Secrets.cs 6.66% <0.00%> (-0.19%) ⬇️
src/ApiService/Tests/OrmTest.cs 3.88% <100.00%> (ø)

@tevoinea tevoinea merged commit db1e489 into microsoft:main Jun 23, 2023
AdamL-Microsoft added a commit that referenced this pull request Jun 23, 2023
@AdamL-Microsoft AdamL-Microsoft mentioned this pull request Jun 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants