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 {
|
func certspotterVersion() string {
|
||||||
if Version != "" {
|
if Version != "" {
|
||||||
return Version
|
return Version + "?"
|
||||||
}
|
}
|
||||||
info, ok := debug.ReadBuildInfo()
|
info, ok := debug.ReadBuildInfo()
|
||||||
if !ok {
|
if !ok {
|
||||||
|
|
Loading…
Reference in New Issue