mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
volumes should return self from all
This commit is contained in:
parent
235fabbc31
commit
5eb3449a73
1 changed files with 1 additions and 0 deletions
|
@ -27,6 +27,7 @@ module Fog
|
||||||
if server
|
if server
|
||||||
self.replace(self.select {|volume| volume.server_id == server.id})
|
self.replace(self.select {|volume| volume.server_id == server.id})
|
||||||
end
|
end
|
||||||
|
self
|
||||||
end
|
end
|
||||||
|
|
||||||
def get(volume_id)
|
def get(volume_id)
|
||||||
|
|
Loading…
Add table
Reference in a new issue