From 2f3de5e199cc529ac440f85cc2785dcb79a1cf56 Mon Sep 17 00:00:00 2001 From: chrislu Date: Tue, 3 Jun 2025 22:50:45 -0700 Subject: [PATCH] fix build --- weed/command/update.go | 4 ++-- 1 file 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