fix error in volumes

This commit is contained in:
Terry Howe 2013-08-09 07:10:32 -06:00 committed by Rupak Ganguly
parent 386682e0b6
commit 9a60c66949
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ module Fog
# a volume can be attached to only one server at a time
def server_id
attachments[0]['serverId'] if has_attachments?
attachments[0]['server_id'] if has_attachments?
end
# used for creating bootable volumes