volumes should return self from all

This commit is contained in:
geemus (Wesley Beary) 2010-03-08 17:56:55 -08:00
parent 235fabbc31
commit 5eb3449a73
1 changed files with 1 additions and 0 deletions

View File

@ -27,6 +27,7 @@ module Fog
if server
self.replace(self.select {|volume| volume.server_id == server.id})
end
self
end
def get(volume_id)