We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4c3e939 + 1ca215f commit e446fddCopy full SHA for e446fdd
cmd/geras/main.go
@@ -177,7 +177,7 @@ func main() {
177
178
// Set user agent header
179
var transport http.RoundTripper = opentsdb.DefaultTransport
180
- transport = useragent.NewUserAgentTransport(transport, "geras/" + version.Version)
+ transport = useragent.NewUserAgentTransport(transport, "geras/"+version.Version)
181
182
// initialize distributed tracing
183
flush := initTracer()
pkg/useragent/useragent.go
@@ -5,8 +5,8 @@ import (
5
)
6
7
type UserAgentTransport struct {
8
- base http.RoundTripper
9
- customUA string
+ base http.RoundTripper
+ customUA string
10
}
11
12
func NewUserAgentTransport(base http.RoundTripper, customUA string) *UserAgentTransport {
0 commit comments