aboutsummaryrefslogtreecommitdiff
path: root/weed/command/version.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/command/version.go')
-rw-r--r--weed/command/version.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/weed/command/version.go b/weed/command/version.go
index 8e9574691..bbbbbaff0 100644
--- a/weed/command/version.go
+++ b/weed/command/version.go
@@ -2,9 +2,8 @@ package command
import (
"fmt"
+ "github.com/seaweedfs/seaweedfs/weed/util/version"
"runtime"
-
- "github.com/seaweedfs/seaweedfs/weed/util"
)
var cmdVersion = &Command{
@@ -19,6 +18,6 @@ func runVersion(cmd *Command, args []string) bool {
cmd.Usage()
}
- fmt.Printf("version %s %s %s\n", util.Version(), runtime.GOOS, runtime.GOARCH)
+ fmt.Printf("version %s %s %s\n", version.Version(), runtime.GOOS, runtime.GOARCH)
return true
}