mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Only dup @attributes if it's not nil
This commit is contained in:
parent
d77095c8b5
commit
053551cf73
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ module Fog
|
|||
end
|
||||
|
||||
def dup_attributes!
|
||||
@attributes = @attributes.dup
|
||||
@attributes = @attributes.dup if @attributes
|
||||
end
|
||||
|
||||
private
|
||||
|
|
Loading…
Reference in a new issue