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 #318 : Starts the db transaction after validating the data #369

Merged
merged 1 commit into from
Nov 18, 2020
Merged

Fix #318 : Starts the db transaction after validating the data #369

merged 1 commit into from
Nov 18, 2020

Conversation

hellozee
Copy link
Contributor

Description

Moves the code for data validation before creating the db transaction.

Why is this needed

Fixes: #318

How Has This Been Tested?

Ran make test with Linux host.

@codecov
Copy link

codecov bot commented Nov 17, 2020

Codecov Report

Merging #369 (8c5dd2b) into master (23c4fb0) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #369   +/-   ##
=======================================
  Coverage   24.74%   24.74%           
=======================================
  Files          14       14           
  Lines        1277     1277           
=======================================
  Hits          316      316           
  Misses        940      940           
  Partials       21       21           

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 23c4fb0...8c5dd2b. Read the comment docs.

@gianarb
Copy link
Contributor

gianarb commented Nov 18, 2020

Thank you for your contribution @hellozee ! Do you mind to rebase? @kdeng3849 noticed a fix in our CI system and it is not fixed #370 this should make CI pass for you as well

Signed-off-by: Kuntal Majumder <kuntal@infracloud.io>
@hellozee
Copy link
Contributor Author

Done, :3

@gianarb gianarb added the ready-to-merge Signal to Mergify to merge the PR. label Nov 18, 2020
@mergify mergify bot merged commit 47f1e12 into tinkerbell:master Nov 18, 2020
@mmlb mmlb removed the ready-to-merge Signal to Mergify to merge the PR. label Jan 25, 2021
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.

Open transactions after validating data
3 participants