1
0
Fork 0
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:
Eric Johnson 2014-04-03 22:24:28 +00:00
parent 4fa2d86adf
commit e52b62f56f
3 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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)

View file

@ -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)