From e98c9b362520328daddbe6fe836031647f8becfc Mon Sep 17 00:00:00 2001 From: "Anand Babu (AB) Periasamy" Date: Fri, 27 Nov 2015 11:26:09 -0800 Subject: [PATCH] fix short-commit-id to 12 digits --- build-constants.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-constants.go b/build-constants.go index 49b83683..2095a528 100644 --- a/build-constants.go +++ b/build-constants.go @@ -24,5 +24,5 @@ var ( // mcCommitID - latest commit id. mcCommitID = "UNOFFICIAL.GOGET" // mcShortCommitID - first 12 characters from mcCommitID. - mcShortCommitID = mcCommitID[:] + mcShortCommitID = mcCommitID[:12] )