Skip to content

Commit dfdc587

Browse files
arschlesAaron Schlesinger
authored andcommitted
fix(publish_release.go): send bytes.Buffer as a pointer
so it adheres to io.Writer
1 parent d57509e commit dfdc587

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/gitreceive/publish_release.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ func publishRelease(conf *Config, builderKey string, buildHook *pkg.BuildHook) (
1515
return nil, err
1616
}
1717
url := controllerURLStr(conf, "v2", "hooks", "build")
18-
req, err := http.NewRequest("POST", url, b)
18+
req, err := http.NewRequest("POST", url, &b)
1919
if err != nil {
2020
return nil, err
2121
}

0 commit comments

Comments
 (0)