diff options
Diffstat (limited to 'weed/util')
| -rw-r--r-- | weed/util/constants_4bytes.go | 2 | ||||
| -rw-r--r-- | weed/util/constants_5bytes.go | 2 | ||||
| -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 = "" ) |
