mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[rackspace|monitoring] Correcting entity destroy logic
This commit is contained in:
parent
0731db813b
commit
a10070bc02
1 changed files with 1 additions and 1 deletions
|
@ -50,6 +50,6 @@ Shindo.tests('Fog::Rackspace::Monitoring | alarm', ['rackspace','rackspace_monit
|
|||
|
||||
end
|
||||
ensure
|
||||
@entity.destroy unless @entity
|
||||
@entity.destroy if @entity
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue