From dda22ad8c5034870e0616186fa758d22bc40ad38 Mon Sep 17 00:00:00 2001 From: Rupak Ganguly Date: Fri, 26 Oct 2012 00:21:49 -0400 Subject: [PATCH] Minor fix to allow options on save to pass in metadata. --- lib/fog/hp/models/storage/directory.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/fog/hp/models/storage/directory.rb b/lib/fog/hp/models/storage/directory.rb index 4336a1efe..33bc60a59 100644 --- a/lib/fog/hp/models/storage/directory.rb +++ b/lib/fog/hp/models/storage/directory.rb @@ -189,9 +189,8 @@ module Fog end end - def save + def save(options = {}) requires :key - options = {} # write out the acls into the headers before save options.merge!(connection.perm_acl_to_header(@read_acl, @write_acl)) connection.put_container(key, options)