aboutsummaryrefslogtreecommitdiff
path: root/weed/util
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2025-06-03 22:46:07 -0700
committerchrislu <chris.lu@gmail.com>2025-06-03 22:46:10 -0700
commitbd4891a11787dc8ef93c4cc829eb907ac296db68 (patch)
tree435c60304e18be9c02936db7a71d0008d1d2b94c /weed/util
parent7039d5003ce41067f1e7b5ee9d2ad9378f54aeea (diff)
downloadseaweedfs-bd4891a11787dc8ef93c4cc829eb907ac296db68.tar.xz
seaweedfs-bd4891a11787dc8ef93c4cc829eb907ac296db68.zip
change version directory
Diffstat (limited to 'weed/util')
-rw-r--r--weed/util/constants_4bytes.go2
-rw-r--r--weed/util/constants_5bytes.go2
-rw-r--r--weed/util/version/constants.go (renamed from weed/util/constants.go)5
3 files changed, 5 insertions, 4 deletions
diff --git a/weed/util/constants_4bytes.go b/weed/util/constants_4bytes.go
index 187e33909..4cf07165e 100644
--- a/weed/util/constants_4bytes.go
+++ b/weed/util/constants_4bytes.go
@@ -4,6 +4,6 @@
package util
const (
- sizeLimit = "30GB"
+ SizeLimit = "30GB"
VolumeSizeLimitGB = 30
)
diff --git a/weed/util/constants_5bytes.go b/weed/util/constants_5bytes.go
index 7c6a158cf..406287440 100644
--- a/weed/util/constants_5bytes.go
+++ b/weed/util/constants_5bytes.go
@@ -4,6 +4,6 @@
package util
const (
- sizeLimit = "8000GB"
+ SizeLimit = "8000GB"
VolumeSizeLimitGB = 8000
)
diff --git a/weed/util/constants.go b/weed/util/version/constants.go
index a5701c1a4..5cf2dd738 100644
--- a/weed/util/constants.go
+++ b/weed/util/version/constants.go
@@ -1,7 +1,8 @@
-package util
+package version
import (
"fmt"
+ "github.com/seaweedfs/seaweedfs/weed/util"
)
const HttpStatusCancelled = 499
@@ -10,7 +11,7 @@ var (
MAJOR_VERSION = int32(3)
MINOR_VERSION = int32(89)
VERSION_NUMBER = fmt.Sprintf("%d.%02d", MAJOR_VERSION, MINOR_VERSION)
- VERSION = sizeLimit + " " + VERSION_NUMBER
+ VERSION = util.SizeLimit + " " + VERSION_NUMBER
COMMIT = ""
)