mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
details sometimes fails with a not-found
This commit is contained in:
parent
b6c45d837e
commit
dd69654a5d
1 changed files with 2 additions and 0 deletions
|
@ -20,6 +20,8 @@ module Fog
|
|||
|
||||
def details
|
||||
service.get_host_details(self.host_name).body['host']
|
||||
rescue Fog::Compute::OpenStack::NotFound
|
||||
nil
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue