mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
OpenStack: update used limits tests.
Updates the get_limits request Mock and test so that it includes the new totalFloatingIpsUsed limit. Also, drops the totalKeyPairsUsed limit since it is no longer used since https://bugs.launchpad.net/nova/+bug/1089877.
This commit is contained in:
parent
23f3e94756
commit
ad6cd5489d
2 changed files with 2 additions and 2 deletions
|
@ -73,7 +73,7 @@ module Fog
|
|||
'totalRAMUsed' => -2048,
|
||||
'totalInstancesUsed' => -1,
|
||||
'totalSecurityGroupsUsed' => 0,
|
||||
'totalKeyPairsUsed' => 0
|
||||
'totalFloatingIpsUsed' => 0
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ Shindo.tests('Fog::Compute[:openstack] | limits requests', ['openstack']) do
|
|||
'totalRAMUsed' => Fixnum,
|
||||
'totalInstancesUsed' => Fixnum,
|
||||
'totalSecurityGroupsUsed' => Fixnum,
|
||||
'totalKeyPairsUsed' => Fixnum
|
||||
'totalFloatingIpsUsed' => Fixnum
|
||||
}
|
||||
|
||||
@limits_format = {
|
||||
|
|
Loading…
Add table
Reference in a new issue