Skip to content

Commit 1ca215f

Browse files
authored
Run gofmt to fix build failures (#130)
1 parent 3985789 commit 1ca215f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cmd/geras/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ func main() {
177177

178178
// Set user agent header
179179
var transport http.RoundTripper = opentsdb.DefaultTransport
180-
transport = useragent.NewUserAgentTransport(transport, "geras/" + version.Version)
180+
transport = useragent.NewUserAgentTransport(transport, "geras/"+version.Version)
181181

182182
// initialize distributed tracing
183183
flush := initTracer()

pkg/useragent/useragent.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
)
66

77
type UserAgentTransport struct {
8-
base http.RoundTripper
9-
customUA string
8+
base http.RoundTripper
9+
customUA string
1010
}
1111

1212
func NewUserAgentTransport(base http.RoundTripper, customUA string) *UserAgentTransport {

0 commit comments

Comments
 (0)