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/benchmark.go | |
| parent | ea93d21641ca96cde2b71031a33f390a549090a6 (diff) | |
| download | seaweedfs-bc2ec6774d10349143dec326f227a2a809c01731.tar.xz seaweedfs-bc2ec6774d10349143dec326f227a2a809c01731.zip | |
inject git version into build
Diffstat (limited to 'weed/command/benchmark.go')
| -rw-r--r-- | weed/command/benchmark.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/benchmark.go b/weed/command/benchmark.go index ee21914b3..de44fac75 100644 --- a/weed/command/benchmark.go +++ b/weed/command/benchmark.go @@ -115,7 +115,7 @@ func runBenchmark(cmd *Command, args []string) bool { util.LoadConfiguration("security", false) b.grpcDialOption = security.LoadClientTLS(util.GetViper(), "grpc.client") - fmt.Printf("This is SeaweedFS version %s %s %s\n", util.VERSION, runtime.GOOS, runtime.GOARCH) + fmt.Printf("This is SeaweedFS version %s %s %s\n", util.Version(), runtime.GOOS, runtime.GOARCH) if *b.maxCpu < 1 { *b.maxCpu = runtime.NumCPU() } |
