aboutsummaryrefslogtreecommitdiff
path: root/weed/s3api/s3api_handlers.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2019-01-02 11:36:29 -0800
committerChris Lu <chris.lu@gmail.com>2019-01-02 11:36:29 -0800
commit3339325334b37f86fb7d7b16a85c2f3ab6f89aca (patch)
tree1dae57c40960d54a6b71a04ec146f87ef24cc13d /weed/s3api/s3api_handlers.go
parent43db7ac123e312cb2f55a005684f603a900cb310 (diff)
downloadseaweedfs-3339325334b37f86fb7d7b16a85c2f3ab6f89aca.tar.xz
seaweedfs-3339325334b37f86fb7d7b16a85c2f3ab6f89aca.zip
fix s3 ListAllMyBucketsResult to work with s3cmd
Diffstat (limited to 'weed/s3api/s3api_handlers.go')
-rw-r--r--weed/s3api/s3api_handlers.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/s3api/s3api_handlers.go b/weed/s3api/s3api_handlers.go
index 281fc9000..286398310 100644
--- a/weed/s3api/s3api_handlers.go
+++ b/weed/s3api/s3api_handlers.go
@@ -77,6 +77,7 @@ func writeResponse(w http.ResponseWriter, statusCode int, response []byte, mType
}
w.WriteHeader(statusCode)
if response != nil {
+ glog.V(4).Infof("status %d %s: %s", statusCode, mType, string(response))
w.Write(response)
w.(http.Flusher).Flush()
}