From 9adb7b03a79d54d780cd1f57cfa049ae812c6c33 Mon Sep 17 00:00:00 2001 From: Oscar Kilhed Date: Tue, 24 Sep 2024 16:10:29 +0100 Subject: [PATCH] Remove buildstamp from build hash. Version and commit should be enough (#93658) Remove buildstamp from build hash, version and commit should be enough --- pkg/api/frontendsettings.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/api/frontendsettings.go b/pkg/api/frontendsettings.go index a7a3f914a8c..6566b02acfc 100644 --- a/pkg/api/frontendsettings.go +++ b/pkg/api/frontendsettings.go @@ -41,7 +41,6 @@ func (hs *HTTPServer) GetFrontendAssets(c *contextmodel.ReqContext) { hash.Reset() _, _ = hash.Write([]byte(setting.BuildVersion)) _, _ = hash.Write([]byte(setting.BuildCommit)) - _, _ = hash.Write([]byte(fmt.Sprintf("%d", setting.BuildStamp))) keys["version"] = fmt.Sprintf("%x", hash.Sum(nil)) // Plugin configs