diff options
| author | chrislu <chris.lu@gmail.com> | 2025-06-03 22:46:07 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2025-06-03 22:46:10 -0700 |
| commit | bd4891a11787dc8ef93c4cc829eb907ac296db68 (patch) | |
| tree | 435c60304e18be9c02936db7a71d0008d1d2b94c /weed/command/volume.go | |
| parent | 7039d5003ce41067f1e7b5ee9d2ad9378f54aeea (diff) | |
| download | seaweedfs-bd4891a11787dc8ef93c4cc829eb907ac296db68.tar.xz seaweedfs-bd4891a11787dc8ef93c4cc829eb907ac296db68.zip | |
change version directory
Diffstat (limited to 'weed/command/volume.go')
| -rw-r--r-- | weed/command/volume.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/weed/command/volume.go b/weed/command/volume.go index 2389d5561..c8917819b 100644 --- a/weed/command/volume.go +++ b/weed/command/volume.go @@ -2,6 +2,7 @@ package command import ( "fmt" + "github.com/seaweedfs/seaweedfs/weed/util/version" "net/http" httppprof "net/http/pprof" "os" @@ -351,7 +352,7 @@ func (v VolumeServerOptions) startGrpcService(vs volume_server_pb.VolumeServerSe func (v VolumeServerOptions) startPublicHttpService(handler http.Handler) httpdown.Server { publicListeningAddress := util.JoinHostPort(*v.bindIp, *v.publicPort) - glog.V(0).Infoln("Start Seaweed volume server", util.Version(), "public at", publicListeningAddress) + glog.V(0).Infoln("Start Seaweed volume server", version.Version(), "public at", publicListeningAddress) publicListener, e := util.NewListener(publicListeningAddress, time.Duration(*v.idleConnectionTimeout)*time.Second) if e != nil { glog.Fatalf("Volume server listener error:%v", e) @@ -378,7 +379,7 @@ func (v VolumeServerOptions) startClusterHttpService(handler http.Handler) httpd } listeningAddress := util.JoinHostPort(*v.bindIp, *v.port) - glog.V(0).Infof("Start Seaweed volume server %s at %s", util.Version(), listeningAddress) + glog.V(0).Infof("Start Seaweed volume server %s at %s", version.Version(), listeningAddress) listener, e := util.NewListener(listeningAddress, time.Duration(*v.idleConnectionTimeout)*time.Second) if e != nil { glog.Fatalf("Volume server listener error:%v", e) |
