mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
reload should return nil if the object no longer exists
This commit is contained in:
parent
72d1836f26
commit
c70fb49dac
1 changed files with 1 additions and 1 deletions
|
@ -91,8 +91,8 @@ module Fog
|
||||||
if data = collection.get(identity)
|
if data = collection.get(identity)
|
||||||
new_attributes = data.attributes
|
new_attributes = data.attributes
|
||||||
merge_attributes(new_attributes)
|
merge_attributes(new_attributes)
|
||||||
|
self
|
||||||
end
|
end
|
||||||
self
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def requires(*args)
|
def requires(*args)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue