Add bucket to be part of object struct, reply back with BucketNotFound

for erroneous Object Put requests.

Other minor cleanups, to follow

  - https://github.com/golang/go/wiki/CodeReviewComments
This commit is contained in:
Harshavardhana
2015-01-24 15:35:01 -08:00
parent 72179fbc84
commit 357a81e879
4 changed files with 65 additions and 60 deletions

View File

@@ -40,6 +40,7 @@ type BucketMetadata struct {
}
type ObjectMetadata struct {
Bucket string
Key string
Created time.Time
Size int