aboutsummaryrefslogtreecommitdiff
path: root/weed/command/update.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/command/update.go')
-rw-r--r--weed/command/update.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/command/update.go b/weed/command/update.go
index b07789264..cc464dd28 100644
--- a/weed/command/update.go
+++ b/weed/command/update.go
@@ -10,7 +10,7 @@ import (
"encoding/hex"
"encoding/json"
"fmt"
- "github.com/seaweedfs/seaweedfs/weed/util/version"
+ swv "github.com/seaweedfs/seaweedfs/weed/util/version"
"io"
"net/http"
"os"
@@ -118,7 +118,7 @@ func runUpdate(cmd *Command, args []string) bool {
}
func downloadRelease(ctx context.Context, target string, ver string) (version string, err error) {
- currentVersion := version.VERSION_NUMBER
+ currentVersion := swv.VERSION_NUMBER
rel, err := GitHubLatestRelease(ctx, ver, "seaweedfs", "seaweedfs")
if err != nil {
return "", err