Skip to content

Commit df6b067

Browse files
arschlesAaron Schlesinger
authored andcommitted
fix(receive.go): declare and define vars
1 parent b883609 commit df6b067

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/gitreceive/receive.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func receive(conf *Config, newRev string) error {
5252
}
5353

5454
// TODO: use ctxhttp here (https://godoc.org/golang.org/x/net/context/ctxhttp)
55-
resp, err = http.DefaultClient.Do(req)
55+
resp, err := http.DefaultClient.Do(req)
5656
if err != nil {
5757
return err
5858
}

0 commit comments

Comments
 (0)