aboutsummaryrefslogtreecommitdiff
path: root/weed/command/s3.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/command/s3.go')
-rw-r--r--weed/command/s3.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/weed/command/s3.go b/weed/command/s3.go
index ca1b06d3f..a9b317138 100644
--- a/weed/command/s3.go
+++ b/weed/command/s3.go
@@ -153,10 +153,7 @@ func (s3opt *S3Options) startS3Server() bool {
}
}
- glog.V(0).Infof("s3 server sends metrics to %s every %d seconds", metricsAddress, metricsIntervalSec)
- if metricsAddress != "" && metricsIntervalSec > 0 {
- go stats_collect.LoopPushingMetric("s3", stats_collect.SourceName(uint32(*s3opt.port)), stats_collect.S3Gather, metricsAddress, metricsIntervalSec)
- }
+ go stats_collect.LoopPushingMetric("s3", stats_collect.SourceName(uint32(*s3opt.port)), stats_collect.S3Gather, metricsAddress, metricsIntervalSec)
router := mux.NewRouter().SkipClean(true)