mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
few minor fixes
This commit is contained in:
parent
4fa2d86adf
commit
e52b62f56f
3 changed files with 3 additions and 3 deletions
|
@ -59,7 +59,7 @@ module Fog
|
|||
|
||||
def remove_instance instance
|
||||
instance = instance.self_link unless instance.class == String
|
||||
service.add_target_pool_instances(self, [instance])
|
||||
service.remove_target_pool_instances(self, [instance])
|
||||
reload
|
||||
end
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ module Fog
|
|||
'region' => target_pool.region.split('/')[-1]
|
||||
}
|
||||
body = {
|
||||
'health_checks' => health_checks.collect { |i| { 'health_check' => i } }
|
||||
'healthChecks' => health_checks.collect { |i| { 'healthCheck' => i } }
|
||||
}
|
||||
|
||||
result = self.build_result(api_method, parameters, body_object=body)
|
||||
|
|
|
@ -20,7 +20,7 @@ module Fog
|
|||
'region' => target_pool.region.split('/')[-1]
|
||||
}
|
||||
body = {
|
||||
'health_checks' => health_checks.collect { |i| { 'health_check' => i } }
|
||||
'healthChecks' => health_checks.collect { |i| { 'healthCheck' => i } }
|
||||
}
|
||||
|
||||
result = self.build_result(api_method, parameters, body_object=body)
|
||||
|
|
Loading…
Reference in a new issue