We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 921f161 commit 169a0b7Copy full SHA for 169a0b7
cmd/shell.go
@@ -25,6 +25,7 @@ import (
25
"encoding/json"
26
"encoding/pem"
27
"errors"
28
+ _ "expvar" // For DebugServer, below.
29
"fmt"
30
"io/ioutil"
31
"log"
core/util.go
@@ -21,6 +21,7 @@ import (
21
22
23
24
+ "expvar"
"hash"
"io"
@@ -48,6 +49,11 @@ var BuildHost string
48
49
// BuildTime is set by the compiler and is used by GetBuildTime
50
var BuildTime string
51
52
+func init() {
53
+ expvar.NewString("BuildID").Set(BuildID)
54
+ expvar.NewString("BuildTime").Set(BuildTime)
55
+}
56
+
57
// Errors
58
59
// InternalServerError indicates that something has gone wrong unrelated to the
0 commit comments