mirror of
https://github.com/pgsty/minio.git
synced 2026-07-24 06:26:17 +03:00
build: Versioning now populated through ldflags
This commit is contained in:
+2
-2
@@ -90,7 +90,7 @@ func (u updateMessage) JSON() string {
|
||||
}
|
||||
|
||||
func getExperimentalUpdate() {
|
||||
current, e := time.Parse(http.TimeFormat, minioVersion)
|
||||
current, e := time.Parse(time.RFC3339, minioVersion)
|
||||
fatalIf(probe.NewError(e), "Unable to parse Version string as time.", nil)
|
||||
|
||||
if current.IsZero() {
|
||||
@@ -133,7 +133,7 @@ func getExperimentalUpdate() {
|
||||
}
|
||||
|
||||
func getReleaseUpdate() {
|
||||
current, e := time.Parse(http.TimeFormat, minioVersion)
|
||||
current, e := time.Parse(time.RFC3339, minioVersion)
|
||||
fatalIf(probe.NewError(e), "Unable to parse Version string as time.", nil)
|
||||
|
||||
if current.IsZero() {
|
||||
|
||||
Reference in New Issue
Block a user