mirror of
https://github.com/SSLMate/certspotter.git
synced 2025-06-27 10:15:33 +02:00
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…
x
Reference in New Issue
Block a user