diff options
author | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2019-02-15 16:29:36 +0300 |
---|---|---|
committer | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2019-02-15 16:29:36 +0300 |
commit | b54e23b620062531ff6d31fecf1bc927f86cf1b9 (patch) | |
tree | bae6559ea4fab35d88ea1de134e72ca0020780bb /internal | |
parent | b9c89add404cc106906f9e9ce5cec58224ae40bc (diff) |
Remove build time from version flag
Prior to this change, the build time was displayed when the -version
flag was passed. This made it possible that the output was unstable for
the same version. The .com upgrade script depended on them being equal.
This change simply removes it.
Related: https://gitlab.com/gitlab-org/omnibus-gitlab/issues/3598
Diffstat (limited to 'internal')
-rw-r--r-- | internal/version/gitaly_version.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/version/gitaly_version.go b/internal/version/gitaly_version.go index 318e97eb6..821a7eee9 100644 --- a/internal/version/gitaly_version.go +++ b/internal/version/gitaly_version.go @@ -9,7 +9,7 @@ var buildtime string // GetVersionString returns a standard version header func GetVersionString() string { - return fmt.Sprintf("Gitaly, version %v, built %v", version, buildtime) + return fmt.Sprintf("Gitaly, version %v", version) } // GetVersion returns the semver compatible version number |