aboutsummaryrefslogtreecommitdiff
path: root/go/weed/benchmark.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2014-03-25 13:46:59 -0700
committerChris Lu <chris.lu@gmail.com>2014-03-25 13:46:59 -0700
commit39b774a131ac3bc454a516f7b72dcefabc593103 (patch)
tree804763e28b55b1e30ebfefced71b552b8e3e34a1 /go/weed/benchmark.go
parent6e0601a73bf199e7d3ffd3cd2990223e959d3e24 (diff)
downloadseaweedfs-39b774a131ac3bc454a516f7b72dcefabc593103.tar.xz
seaweedfs-39b774a131ac3bc454a516f7b72dcefabc593103.zip
1. adding statistics reporting
2. refactor version to util package
Diffstat (limited to 'go/weed/benchmark.go')
-rw-r--r--go/weed/benchmark.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/go/weed/benchmark.go b/go/weed/benchmark.go
index ae89ea664..eab923751 100644
--- a/go/weed/benchmark.go
+++ b/go/weed/benchmark.go
@@ -98,7 +98,7 @@ func init() {
}
func runbenchmark(cmd *Command, args []string) bool {
- fmt.Printf("This is Weed File System version %s %s %s\n", VERSION, runtime.GOOS, runtime.GOARCH)
+ fmt.Printf("This is Weed File System version %s %s %s\n", util.VERSION, runtime.GOOS, runtime.GOARCH)
if *b.cpuprofile != "" {
f, err := os.Create(*b.cpuprofile)
if err != nil {