diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-06-02 00:10:35 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-06-02 00:10:38 -0700 |
| commit | bc2ec6774d10349143dec326f227a2a809c01731 (patch) | |
| tree | 8edf08a3a269e8184ea45de532e5cccf6adc724c /weed/command/filer.go | |
| parent | ea93d21641ca96cde2b71031a33f390a549090a6 (diff) | |
| download | seaweedfs-bc2ec6774d10349143dec326f227a2a809c01731.tar.xz seaweedfs-bc2ec6774d10349143dec326f227a2a809c01731.zip | |
inject git version into build
Diffstat (limited to 'weed/command/filer.go')
| -rw-r--r-- | weed/command/filer.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/command/filer.go b/weed/command/filer.go index 203164d65..e258b695d 100644 --- a/weed/command/filer.go +++ b/weed/command/filer.go @@ -121,7 +121,7 @@ func (fo *FilerOptions) startFiler() { if *fo.publicPort != 0 { publicListeningAddress := *fo.bindIp + ":" + strconv.Itoa(*fo.publicPort) - glog.V(0).Infoln("Start Seaweed filer server", util.VERSION, "public at", publicListeningAddress) + glog.V(0).Infoln("Start Seaweed filer server", util.Version(), "public at", publicListeningAddress) publicListener, e := util.NewListener(publicListeningAddress, 0) if e != nil { glog.Fatalf("Filer server public listener error on port %d:%v", *fo.publicPort, e) @@ -133,7 +133,7 @@ func (fo *FilerOptions) startFiler() { }() } - glog.V(0).Infof("Start Seaweed Filer %s at %s:%d", util.VERSION, *fo.ip, *fo.port) + glog.V(0).Infof("Start Seaweed Filer %s at %s:%d", util.Version(), *fo.ip, *fo.port) filerListener, e := util.NewListener( *fo.bindIp+":"+strconv.Itoa(*fo.port), time.Duration(10)*time.Second, |
