-
-
Notifications
You must be signed in to change notification settings - Fork 352
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
Modify volume #350
Modify volume #350
Conversation
Looks like there is a syntax error related to 1.8, which we should kill anyway probably, but fwiw. Otherwise looks good to me. @lanej will leave for you to double check. Thanks! |
@geemus it would be great if we could kill 1.8 support sometime. Either way, that syntax error should be fixed, thanks for pointing it out. |
Agreed, we need to get rid of it. But for now, if they are small changes we should I guess make them just a little longer. |
@@ -36,31 +36,50 @@ def ready? | |||
state == 'available' | |||
end | |||
|
|||
def save | |||
raise Fog::Errors::Error.new('Resaving an existing object may create a duplicate') if persisted? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This case is no longer applicable?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, since if there is an identity, its going to call the modify_volume method instead of create_volume.
@@ -63,7 +63,7 @@ def modify_volume(volume_id, options={}) | |||
if options['Iops'] | |||
volume_modification.merge!( | |||
'originalIops' => volume['iops'], | |||
'targetIops' => options['Iops'], | |||
'targetIops' => options['Iops'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how dare you eugene.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know, right?
Thanks!
…On Thu, Mar 9, 2017 at 4:02 PM, Josh Lane ***@***.***> wrote:
Merged #350 <#350>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#350 (comment)>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AAAQKneq4-zuS2enhRuRU_BHV-hge_1Jks5rkHcIgaJpZM4MUUfB>
.
|
No description provided.