diff options
| author | chrislu <chris.lu@gmail.com> | 2025-06-03 22:50:45 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2025-06-03 22:50:45 -0700 |
| commit | 2f3de5e199cc529ac440f85cc2785dcb79a1cf56 (patch) | |
| tree | 925b9e9e98943f73b0bb50a49a2f9df947c3eee5 | |
| parent | bd4891a11787dc8ef93c4cc829eb907ac296db68 (diff) | |
| download | seaweedfs-2f3de5e199cc529ac440f85cc2785dcb79a1cf56.tar.xz seaweedfs-2f3de5e199cc529ac440f85cc2785dcb79a1cf56.zip | |
fix build
| -rw-r--r-- | weed/command/update.go | 4 |
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 |
