When version is set via ldflag, append a "?" to indicate uncertainty
This commit is contained in:
parent
1a5f581c07
commit
7d910d5521
|
@ -36,7 +36,7 @@ const defaultLogList = "https://loglist.certspotter.org/monitor.json"
|
|||
|
||||
func certspotterVersion() string {
|
||||
if Version != "" {
|
||||
return Version
|
||||
return Version + "?"
|
||||
}
|
||||
info, ok := debug.ReadBuildInfo()
|
||||
if !ok {
|
||||
|
|
Loading…
Reference in New Issue