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 for Linux int driver omitting encryption #481

Merged
merged 1 commit into from
Mar 22, 2017

Conversation

akutz
Copy link
Collaborator

@akutz akutz commented Mar 21, 2017

This patch updates the Linux integration driver so that it processes volume creation requests with encryption properly.

@codecov-io
Copy link

codecov-io commented Mar 21, 2017

Codecov Report

Merging #481 into master will decrease coverage by 0.05%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #481      +/-   ##
==========================================
- Coverage   30.61%   30.55%   -0.06%     
==========================================
  Files          29       29              
  Lines        1777     1777              
==========================================
- Hits          544      543       -1     
- Misses       1175     1176       +1     
  Partials       58       58
Impacted Files Coverage Δ
api/types/types_localdevices.go 77.35% <0%> (-1.89%) ⬇️

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 8ff79e6...0f4d810. Read the comment docs.

@@ -459,8 +459,10 @@ func (d *driver) Create(
volumeType := d.volumeType()
optsNew.Type = &volumeType
io, _ := strconv.Atoi(d.iops())
Copy link
Contributor

Choose a reason for hiding this comment

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

I know it's not part of this PR, but I hate seeing this err suppressed. It doesn't appear that the syntax for this config value has been validated previously, so it's possible this conversion should fail. Something worth addressing?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Hi @codenrhoden,

I addressed this concern in a rebase. Care to review?

This patch updates the Linux integration driver so that it processes
volume creation requests with encryption properly.
@akutz akutz force-pushed the bugfix/linux-int-driver-enc branch from d78826f to 0f4d810 Compare March 22, 2017 16:48
@akutz akutz merged commit 621ec42 into thecodeteam:master Mar 22, 2017
@akutz akutz removed the in progress label Mar 22, 2017
@akutz akutz deleted the bugfix/linux-int-driver-enc branch March 22, 2017 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants