From 01a0fa13521379a1fffd163860d18a3a36265543 Mon Sep 17 00:00:00 2001 From: bennojoy Date: Fri, 4 Oct 2013 16:47:09 +0530 Subject: [PATCH] gc_storage rewrite commit 2 --- library/cloud/gc_storage | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/cloud/gc_storage b/library/cloud/gc_storage index caf535b968..1ec9ba439d 100644 --- a/library/cloud/gc_storage +++ b/library/cloud/gc_storage @@ -121,12 +121,12 @@ def grant_check(module, gs, obj): grant = [ x for x in acp.entries.entry_list if x.scope.type == 'AllUsers'] if not grant: obj.set_acl('public-read') - module.exit_json(changed=True, result="The object's permission as been set to public-read") + module.exit_json(changed=True, result="The objects permission as been set to public-read") if module.params.get('permission') == 'authenticated-read': grant = [ x for x in acp.entries.entry_list if x.scope.type == 'AllAuthenticatedUsers'] if not grant: obj.set_acl('authenticated-read') - module.exit_json(changed=True, result="The object's permission as been set to authenticated-read") + module.exit_json(changed=True, result="The objects permission as been set to authenticated-read") except gs.provider.storage_response_error, e: module.fail_json(msg= str(e)) return True