Skip to content

Commit fcebcb7

Browse files
leave default as it is`
Signed-off-by: Rashmi Gottipati <[email protected]>
1 parent ad27502 commit fcebcb7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/shared/version/version.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
)
77

88
var (
9-
gitCommit = ""
9+
gitCommit = "unknown"
1010
commitDate = "unknown"
1111
repoState = "unknown"
1212
version = "unknown"
@@ -29,7 +29,7 @@ func init() {
2929
for _, setting := range info.Settings {
3030
switch setting.Key {
3131
case "vcs.revision":
32-
if gitCommit == "" {
32+
if gitCommit == "unknown" {
3333
gitCommit = setting.Value
3434
}
3535
case "vcs.time":

0 commit comments

Comments
 (0)