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

Persistify deleted state and load it on daemon startup. #553

Merged
merged 1 commit into from
Jan 7, 2019

Conversation

ricab
Copy link
Collaborator

@ricab ricab commented Dec 21, 2018

Fixes #536. This adds a boolean field to each instance specification indicating whether or not it is deleted.

This change is backward compatible: the daemon can still load VM specs that do not contain the new flag. Such VMs are regarded as not deleted.

@codecov
Copy link

codecov bot commented Dec 21, 2018

Codecov Report

Merging #553 into master will decrease coverage by 0.09%.
The diff coverage is 14.28%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #553     +/-   ##
=========================================
- Coverage   66.14%   66.04%   -0.1%     
=========================================
  Files         146      146             
  Lines        5706     5716     +10     
=========================================
+ Hits         3774     3775      +1     
- Misses       1932     1941      +9
Impacted Files Coverage Δ
src/daemon/daemon.h 33.33% <ø> (ø) ⬆️
src/daemon/daemon.cpp 20.98% <14.28%> (-0.11%) ⬇️

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 f15e279...76bb701. Read the comment docs.

1 similar comment
@codecov
Copy link

codecov bot commented Dec 21, 2018

Codecov Report

Merging #553 into master will decrease coverage by 0.09%.
The diff coverage is 14.28%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #553     +/-   ##
=========================================
- Coverage   66.14%   66.04%   -0.1%     
=========================================
  Files         146      146             
  Lines        5706     5716     +10     
=========================================
+ Hits         3774     3775      +1     
- Misses       1932     1941      +9
Impacted Files Coverage Δ
src/daemon/daemon.h 33.33% <ø> (ø) ⬆️
src/daemon/daemon.cpp 20.98% <14.28%> (-0.11%) ⬇️

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 f15e279...76bb701. Read the comment docs.

Copy link
Contributor

@townsend2010 townsend2010 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

bors r+

bors bot added a commit that referenced this pull request Jan 7, 2019
553: Persistify deleted state and load it on daemon startup. r=townsend2010 a=ricab

Fixes #536. This adds a boolean field to each instance specification indicating whether or not it is deleted. 

This change is backward compatible: the daemon can still load VM specs that do not contain the new flag. Such VMs are regarded as not deleted.

Co-authored-by: Ricardo Abreu <[email protected]>
@bors
Copy link
Contributor

bors bot commented Jan 7, 2019

Build succeeded

@bors bors bot merged commit 76bb701 into canonical:master Jan 7, 2019
@ricab ricab deleted the persistify_deleted_status branch January 8, 2019 09:35
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.

2 participants