mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[ibm] Raise NotFound in mock instead of returning a 404
This commit is contained in:
parent
c62156f906
commit
70cab59f5f
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ module Fog
|
|||
response.status = 200
|
||||
response.body = self.data[:instances][instance_id]
|
||||
else
|
||||
response.status = 404
|
||||
raise Fog::Compute::IBM::NotFound
|
||||
end
|
||||
response
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue