Skip to content

add ex_encrypted and ex_kms_key_id kwargs in EC2NodeDriver.create_volume#729

Closed
ViktorOgnev wants to merge 3 commits intoapache:trunkfrom
Scalr:trunk
Closed

add ex_encrypted and ex_kms_key_id kwargs in EC2NodeDriver.create_volume#729
ViktorOgnev wants to merge 3 commits intoapache:trunkfrom
Scalr:trunk

Conversation

@ViktorOgnev
Copy link
Contributor

No description provided.

if ex_volume_type == 'io1' and ex_iops:
params['Iops'] = ex_iops

if ex_encrypted:
Copy link
Contributor

Choose a reason for hiding this comment

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

can you make value checks more explicit please e.g. if ex_encrypted is not None:

@tonybaloney
Copy link
Contributor

hi @ViktorOgnev thanks for your contribution, there are only a couple of changes before we can merge, first I made a comment about explicit "truthy" checking, can you fix that on both lines please. Second the lint is failing because 3 of the lines are too long, probably the docstring comments from a glance. you can run flake8 locally to check the next commit.

@ViktorOgnev
Copy link
Contributor Author

hi @tonybaloney , looks like now it's ok) Should I rebase, or is it fine as is?

@tonybaloney
Copy link
Contributor

perfect, no need to squash, will merge.

@asfgit asfgit closed this in 7dc0fb0 Mar 28, 2016
@tonybaloney
Copy link
Contributor

all done, thanks for your contribution @ViktorOgnev

asfgit pushed a commit that referenced this pull request Mar 28, 2016
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