aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-09-20 16:01:56 -0700
committerChris Lu <chris.lu@gmail.com>2020-09-20 16:01:56 -0700
commit9a3b564508ca36db93e662748ec3ad9a94ea3f29 (patch)
tree35247010efefb3a94cdab3502e3265d2c2d633e2
parent62563a895ac4c9f438683946341e3e6ffa0a3906 (diff)
downloadseaweedfs-9a3b564508ca36db93e662748ec3ad9a94ea3f29.tar.xz
seaweedfs-9a3b564508ca36db93e662748ec3ad9a94ea3f29.zip
adjust printout
-rw-r--r--weed/s3api/stats.go2
-rw-r--r--weed/server/volume_server_handlers.go4
2 files changed, 3 insertions, 3 deletions
diff --git a/weed/s3api/stats.go b/weed/s3api/stats.go
index 481cb1625..16a546c66 100644
--- a/weed/s3api/stats.go
+++ b/weed/s3api/stats.go
@@ -11,7 +11,7 @@ func track(f http.HandlerFunc, action string) http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
- w.Header().Set("Server", "Seaweed S3 "+util.VERSION)
+ w.Header().Set("Server", "SeaweedFS S3 "+util.VERSION)
start := time.Now()
stats_collect.S3RequestCounter.WithLabelValues(action).Inc()
diff --git a/weed/server/volume_server_handlers.go b/weed/server/volume_server_handlers.go
index 5aa7ad60b..ad13cdf3b 100644
--- a/weed/server/volume_server_handlers.go
+++ b/weed/server/volume_server_handlers.go
@@ -26,7 +26,7 @@ security settings:
*/
func (vs *VolumeServer) privateStoreHandler(w http.ResponseWriter, r *http.Request) {
- w.Header().Set("Server", "Seaweed Volume "+util.VERSION)
+ w.Header().Set("Server", "SeaweedFS Volume "+util.VERSION)
switch r.Method {
case "GET", "HEAD":
stats.ReadRequest()
@@ -41,7 +41,7 @@ func (vs *VolumeServer) privateStoreHandler(w http.ResponseWriter, r *http.Reque
}
func (vs *VolumeServer) publicReadOnlyHandler(w http.ResponseWriter, r *http.Request) {
- w.Header().Set("Server", "Seaweed Volume "+util.VERSION)
+ w.Header().Set("Server", "SeaweedFS Volume "+util.VERSION)
switch r.Method {
case "GET":
stats.ReadRequest()