Add proper router for handling putBucketACLHandler

This commit is contained in:
Harshavardhana
2015-10-07 20:36:36 -07:00
parent e719adec8b
commit d18ca4b40d
7 changed files with 29 additions and 31 deletions
+4 -12
View File
@@ -58,21 +58,13 @@ func getACLType(req *http.Request) ACLType {
func getACLTypeString(acl ACLType) string {
switch acl {
case privateACLType:
{
return "private"
}
return "private"
case publicReadACLType:
{
return "public-read"
}
return "public-read"
case publicReadWriteACLType:
{
return "public-read-write"
}
return "public-read-write"
case unsupportedACLType:
{
return ""
}
return ""
default:
return "private"
}