Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

fix build

chrislu2f3de5e199cc
diff --git a/weed/command/update.go b/weed/command/update.go
index b077892644..cc464dd286 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