diff options
| author | chrislu <chris.lu@gmail.com> | 2025-06-03 22:46:07 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2025-06-03 22:46:10 -0700 |
| commit | bd4891a11787dc8ef93c4cc829eb907ac296db68 (patch) | |
| tree | 435c60304e18be9c02936db7a71d0008d1d2b94c /weed/command/update.go | |
| parent | 7039d5003ce41067f1e7b5ee9d2ad9378f54aeea (diff) | |
| download | seaweedfs-bd4891a11787dc8ef93c4cc829eb907ac296db68.tar.xz seaweedfs-bd4891a11787dc8ef93c4cc829eb907ac296db68.zip | |
change version directory
Diffstat (limited to 'weed/command/update.go')
| -rw-r--r-- | weed/command/update.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/weed/command/update.go b/weed/command/update.go index bf871d654..b07789264 100644 --- a/weed/command/update.go +++ b/weed/command/update.go @@ -10,6 +10,7 @@ import ( "encoding/hex" "encoding/json" "fmt" + "github.com/seaweedfs/seaweedfs/weed/util/version" "io" "net/http" "os" @@ -117,7 +118,7 @@ func runUpdate(cmd *Command, args []string) bool { } func downloadRelease(ctx context.Context, target string, ver string) (version string, err error) { - currentVersion := util.VERSION_NUMBER + currentVersion := version.VERSION_NUMBER rel, err := GitHubLatestRelease(ctx, ver, "seaweedfs", "seaweedfs") if err != nil { return "", err |
