aboutsummaryrefslogtreecommitdiff
path: root/weed/command/s3.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-06-02 00:10:35 -0700
committerChris Lu <chris.lu@gmail.com>2020-06-02 00:10:38 -0700
commitbc2ec6774d10349143dec326f227a2a809c01731 (patch)
tree8edf08a3a269e8184ea45de532e5cccf6adc724c /weed/command/s3.go
parentea93d21641ca96cde2b71031a33f390a549090a6 (diff)
downloadseaweedfs-bc2ec6774d10349143dec326f227a2a809c01731.tar.xz
seaweedfs-bc2ec6774d10349143dec326f227a2a809c01731.zip
inject git version into build
Diffstat (limited to 'weed/command/s3.go')
-rw-r--r--weed/command/s3.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/command/s3.go b/weed/command/s3.go
index cd4018fbc..7ebd4fab0 100644
--- a/weed/command/s3.go
+++ b/weed/command/s3.go
@@ -170,12 +170,12 @@ func (s3opt *S3Options) startS3Server() bool {
}
if *s3opt.tlsPrivateKey != "" {
- glog.V(0).Infof("Start Seaweed S3 API Server %s at https port %d", util.VERSION, *s3opt.port)
+ glog.V(0).Infof("Start Seaweed S3 API Server %s at https port %d", util.Version(), *s3opt.port)
if err = httpS.ServeTLS(s3ApiListener, *s3opt.tlsCertificate, *s3opt.tlsPrivateKey); err != nil {
glog.Fatalf("S3 API Server Fail to serve: %v", err)
}
} else {
- glog.V(0).Infof("Start Seaweed S3 API Server %s at http port %d", util.VERSION, *s3opt.port)
+ glog.V(0).Infof("Start Seaweed S3 API Server %s at http port %d", util.Version(), *s3opt.port)
if err = httpS.Serve(s3ApiListener); err != nil {
glog.Fatalf("S3 API Server Fail to serve: %v", err)
}