incubator-deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michal Fojtik <mfoj...@redhat.com>
Subject Re: [PATCH 2/2] [minor] Fix typo in create blob and remove whitespace
Date Mon, 20 Jun 2011 08:09:30 GMT
On Jun 16, 2011, at 6:21 PM, marios@redhat.com wrote:

ACK.

  -- Michal

> From: marios <marios@redhat.com>
> 
> 
> Signed-off-by: marios <marios@redhat.com>
> ---
> .../drivers/rackspace/rackspace_driver.rb          |    4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/server/lib/deltacloud/drivers/rackspace/rackspace_driver.rb b/server/lib/deltacloud/drivers/rackspace/rackspace_driver.rb
> index c8bf0b2..7829b02 100644
> --- a/server/lib/deltacloud/drivers/rackspace/rackspace_driver.rb
> +++ b/server/lib/deltacloud/drivers/rackspace/rackspace_driver.rb
> @@ -262,7 +262,7 @@ class RackspaceDriver < Deltacloud::BaseDriver
>   def create_blob(credentials, bucket_id, blob_id, blob_data, opts={})
>     cf = cloudfiles_client(credentials)
>     #insert ec2-specific header for user metadata ... X-Object-Meta-KEY = VALUE
> -    BlobHelper::rename_metadata_headers(opts, "X-Object-Meta-)"
> +    BlobHelper::rename_metadata_headers(opts, "X-Object-Meta-")
>     opts['Content-Type'] = blob_data[:type]
>     object = nil
>     safely do
> @@ -422,7 +422,7 @@ private
>   exceptions do
> 
>     on /No offering found/ do
> -      status 400 
> +      status 400

Maybe I'm blind but I don't really see a change here :-)

>     end
> 
>     on /Authentication failed/ do
> -- 
> 1.7.3.4
> 

------------------------------------------------------
Michal Fojtik, mfojtik@redhat.com
Deltacloud API: http://deltacloud.org


Mime
View raw message