diff --git a/lib/fog/ninefold/models/storage/files.rb b/lib/fog/ninefold/models/storage/files.rb index 81b34b1ca..3724e57d8 100644 --- a/lib/fog/ninefold/models/storage/files.rb +++ b/lib/fog/ninefold/models/storage/files.rb @@ -51,7 +51,7 @@ module Fog def head(key, options = { }) 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({ :body => data.body, :key => key diff --git a/lib/fog/ninefold/storage.rb b/lib/fog/ninefold/storage.rb index 9d0e3e333..a9f80e0e4 100644 --- a/lib/fog/ninefold/storage.rb +++ b/lib/fog/ninefold/storage.rb @@ -20,7 +20,7 @@ module Fog request_path 'fog/ninefold/requests/storage' # request :delete_container request :get_namespace - request :head_object + request :head_namespace request :post_namespace request :put_namespace request :delete_namespace