From 9dae4e9d3ed78ee761ff9d65a371c9c31f2888c1 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Wed, 26 Aug 2020 09:31:11 -0700 Subject: [PATCH] fix logs --- weed/command/volume.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/weed/command/volume.go b/weed/command/volume.go index fd25e0a6e..bad037033 100644 --- a/weed/command/volume.go +++ b/weed/command/volume.go @@ -229,10 +229,10 @@ func (v VolumeServerOptions) startVolumeServer(volumeFolders, maxVolumeCounts, v var startTime time.Time // Stop heartbeats - glog.V(0).Infof("stop send heartbeat and sleep %d seconds ...", v.preStopSeconds) + glog.V(0).Infof("stop send heartbeat and sleep %d seconds ...", *v.preStopSeconds) volumeServer.SendHeartbeat = false time.Sleep(time.Duration(*v.preStopSeconds) * time.Second) - glog.V(0).Infof("end sleep %d sec", v.preStopSeconds) + glog.V(0).Infof("end sleep %d sec", *v.preStopSeconds) // firstly, stop the public http service to prevent from receiving new user request if nil != publicHttpDown { startTime = time.Now()