mirror of
https://github.com/SSLMate/certspotter.git
synced 2026-02-23 13:04:19 +01:00
When version is set via ldflag, append a "?" to indicate uncertainty
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user