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 casting bug for fetching partnerIDs #182

Merged
merged 2 commits into from
Dec 1, 2020
Merged

Conversation

joe94
Copy link
Member

@joe94 joe94 commented Nov 30, 2020

The direct casting to []string was failing because the partnerIDs list is of type []interface{} internally. This is an issue @kristinaspring already found and fixed in another service recently.

@codecov
Copy link

codecov bot commented Nov 30, 2020

Codecov Report

Merging #182 (6642c88) into main (abac7d1) will increase coverage by 0.52%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #182      +/-   ##
==========================================
+ Coverage   76.30%   76.82%   +0.52%     
==========================================
  Files          11       11              
  Lines         384      384              
==========================================
+ Hits          293      295       +2     
+ Misses         84       83       -1     
+ Partials        7        6       -1     
Impacted Files Coverage Δ
translation/transport.go 87.96% <100.00%> (+1.50%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update abac7d1...6642c88. Read the comment docs.

@joe94 joe94 added this to In progress in XMiDT via automation Nov 30, 2020
@sonarcloud
Copy link

sonarcloud bot commented Nov 30, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@joe94 joe94 linked an issue Nov 30, 2020 that may be closed by this pull request
XMiDT automation moved this from In progress to PRs: Approved Dec 1, 2020
@joe94 joe94 merged commit fcac231 into main Dec 1, 2020
XMiDT automation moved this from PRs: Approved to Done Dec 1, 2020
@joe94 joe94 deleted the bugfix/partnerCasting branch December 1, 2020 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
XMiDT
  
Done
Development

Successfully merging this pull request may close these issues.

Tr1d1um fails to decode partnerIDs from bascule token
2 participants