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/filer.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/filer.go')
| -rw-r--r-- | weed/command/filer.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/filer.go b/weed/command/filer.go index 4aa537f46..9e305d192 100644 --- a/weed/command/filer.go +++ b/weed/command/filer.go @@ -162,7 +162,7 @@ func runFiler(cmd *Command, args []string) bool { util.LoadConfiguration("security", false) - go stats_collect.StartMetricsServer(*f.metricsHttpPort) + go stats_collect.StartMetricsServer(*f.bindIp, *f.metricsHttpPort) filerAddress := util.JoinHostPort(*f.ip, *f.port) startDelay := time.Duration(2) |
