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/master.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/master.go')
| -rw-r--r-- | weed/command/master.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/master.go b/weed/command/master.go index 39dbf42ed..b1fbf44cf 100644 --- a/weed/command/master.go +++ b/weed/command/master.go @@ -119,7 +119,7 @@ func runMaster(cmd *Command, args []string) bool { glog.Fatalf("volumeSizeLimitMB should be smaller than 30000") } - go stats_collect.StartMetricsServer(*m.metricsHttpPort) + go stats_collect.StartMetricsServer(*m.ipBind, *m.metricsHttpPort) startMaster(m, masterWhiteList) return true |
