mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[rackspace|blockstrage] fixed mock error
This commit is contained in:
parent
696ac6a87c
commit
893d7a8f88
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ module Fog
|
|||
"availability_zone" => "nova",
|
||||
"metadata" => {},
|
||||
}
|
||||
if options[:snapshot_id]
|
||||
if snapshot_id = options[:snapshot_id]
|
||||
snapshot = self.data[:snapshots][snapshot_id]
|
||||
volume.merge!("size" => snapshot["size"])
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue