diff options
| author | Jiffs Maverick <jiffsmaverick@gmail.com> | 2022-11-24 20:22:59 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-24 10:22:59 -0800 |
| commit | 4b0430e71d097c0de1f848b09d7aa8b4a74cb4d7 (patch) | |
| tree | 086cd97678732f6dc2057779d082f1f9f1c5e662 /weed/command/s3.go | |
| parent | 15284e2beec73ed819c3e81db450f38c2732e680 (diff) | |
| download | seaweedfs-4b0430e71d097c0de1f848b09d7aa8b4a74cb4d7.tar.xz seaweedfs-4b0430e71d097c0de1f848b09d7aa8b4a74cb4d7.zip | |
[metrics] Add the ability to control bind ip (#4012)
Diffstat (limited to 'weed/command/s3.go')
| -rw-r--r-- | weed/command/s3.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/s3.go b/weed/command/s3.go index aa435b822..369340151 100644 --- a/weed/command/s3.go +++ b/weed/command/s3.go @@ -144,7 +144,7 @@ func runS3(cmd *Command, args []string) bool { util.LoadConfiguration("security", false) - go stats_collect.StartMetricsServer(*s3StandaloneOptions.metricsHttpPort) + go stats_collect.StartMetricsServer(*s3StandaloneOptions.bindIp, *s3StandaloneOptions.metricsHttpPort) return s3StandaloneOptions.startS3Server() |
