1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Missed renam to head_namespace.

This commit is contained in:
Andrew Newman 2011-11-06 10:29:30 +10:00
parent 1b32cf88fe
commit 605ddaafd3
2 changed files with 2 additions and 2 deletions

View file

@ -51,7 +51,7 @@ module Fog
def head(key, options = { }) def head(key, options = { })
requires :directory requires :directory
data = connection.head_object(directory.key + key, :parse => false) data = connection.head_namespace(directory.key + key, :parse => false)
file_data = data.headers.merge({ file_data = data.headers.merge({
:body => data.body, :body => data.body,
:key => key :key => key

View file

@ -20,7 +20,7 @@ module Fog
request_path 'fog/ninefold/requests/storage' request_path 'fog/ninefold/requests/storage'
# request :delete_container # request :delete_container
request :get_namespace request :get_namespace
request :head_object request :head_namespace
request :post_namespace request :post_namespace
request :put_namespace request :put_namespace
request :delete_namespace request :delete_namespace