From 04152528507402693a136444b94a7f4bfb0d0dde Mon Sep 17 00:00:00 2001 From: Taras Madan Date: Tue, 29 Nov 2022 15:00:46 +0100 Subject: prog/meta.go (#3570) Use "unknown" revision as a default. --- prog/meta.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/prog/meta.go b/prog/meta.go index 1a5bf08f2..61e0c7edb 100644 --- a/prog/meta.go +++ b/prog/meta.go @@ -9,10 +9,10 @@ import ( ) var ( - GitRevision string // emitted by Makefile, may contain + at the end - GitRevisionBase string // without + - gitRevisionDate string // emitted by Makefile - GitRevisionDate time.Time // parsed from gitRevisionDate + GitRevision = "unknown" // emitted by Makefile, may contain + at the end + GitRevisionBase string // without + + gitRevisionDate string // emitted by Makefile + GitRevisionDate time.Time // parsed from gitRevisionDate ) func init() { -- cgit mrf-deployment