diff --git a/lib/fog/rackspace/models/compute_v2/metadatum.rb b/lib/fog/rackspace/models/compute_v2/metadatum.rb index 173a88555..3bd03c209 100644 --- a/lib/fog/rackspace/models/compute_v2/metadatum.rb +++ b/lib/fog/rackspace/models/compute_v2/metadatum.rb @@ -19,7 +19,7 @@ module Fog # @raise [Fog::Compute::RackspaceV2::ServiceError] def destroy requires :identity - connection.delete_metadata_item(collection_name, parent.id, key) + service.delete_metadata_item(collection_name, parent.id, key) true end @@ -31,7 +31,7 @@ module Fog # @raise [Fog::Compute::RackspaceV2::ServiceError] def save requires :identity, :value - connection.set_metadata_item(collection_name, parent.id, key, value) + service.set_metadata_item(collection_name, parent.id, key, value) true end diff --git a/lib/fog/rackspace/models/load_balancers/load_balancer.rb b/lib/fog/rackspace/models/load_balancers/load_balancer.rb index 20a883891..4891f9375 100644 --- a/lib/fog/rackspace/models/load_balancers/load_balancer.rb +++ b/lib/fog/rackspace/models/load_balancers/load_balancer.rb @@ -91,19 +91,19 @@ module Fog def enable_content_caching requires :identity - connection.set_content_caching identity, true + service.set_content_caching identity, true true end def disable_content_caching requires :identity - connection.set_content_caching identity, false + service.set_content_caching identity, false true end def content_caching requires :identity - connection.get_content_caching(identity).body['contentCaching']['enabled'] + service.get_content_caching(identity).body['contentCaching']['enabled'] end def enable_connection_logging