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

Components attributes update #183

Merged
merged 2 commits into from
Dec 21, 2022

Conversation

joelrebel
Copy link
Member

This fixes the case where the component attribute was being added instead
of being updated, which mean't the client received a duplicate key error
for attempting a PUT request to update the component attributes.

This fixes the case where the component attribute was being added instead
of being updated, which mean't the client received a duplicate key error
for attempting a PUT request to update the component attributes.
…utes update

Update an existing fixture component attribute as a test case - this was
incorrectly adding a component attribute instead of updating it.
@joelrebel joelrebel requested a review from a team as a code owner December 20, 2022 15:19
@codecov-commenter
Copy link

Codecov Report

Merging #183 (284ae49) into main (1a2fae9) will decrease coverage by 0.37%.
The diff coverage is 33.33%.

@@            Coverage Diff             @@
##             main     #183      +/-   ##
==========================================
- Coverage   71.27%   70.89%   -0.38%     
==========================================
  Files          35       35              
  Lines        3380     3412      +32     
==========================================
+ Hits         2409     2419      +10     
- Misses        721      740      +19     
- Partials      250      253       +3     
Flag Coverage Δ
unittests 70.89% <33.33%> (-0.38%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pkg/api/v1/router_server_components.go 56.67% <24.00%> (-3.04%) ⬇️
internal/dbtools/fixtures.go 70.31% <62.50%> (-0.16%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@JAORMX JAORMX merged commit b2a26e5 into metal-toolbox:main Dec 21, 2022
@joelrebel joelrebel deleted the components-attrs-update branch February 7, 2023 10:53
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