Skip to content
This repository has been 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

Conversation

tevoinea
Copy link
Member

@tevoinea tevoinea commented Jun 23, 2023

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
Copy link

codecov-commenter commented Jun 23, 2023

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