Skip to content

Commit c0d5e01

Browse files
author
Aaron Schlesinger
committed
fix(build.go): send the reader to upload
1 parent 0435c71 commit c0d5e01

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/gitreceive/build.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ func build(conf *Config, s3Client *s3.S3, builderKey, gitSha string) error {
181181
if err != nil {
182182
return fmt.Errorf("opening %s for read (%s)", appTgz, err)
183183
}
184-
if err := storage.Upload(s3Client, bucketName, tarObjKey); err != nil {
184+
if err := storage.Upload(s3Client, bucketName, tarObjKey, appTgzReader); err != nil {
185185
return fmt.Errorf("uploading %s to %s/%s (%s)", absAppTgz, bucketName, tarObjKey, err)
186186
}
187187

0 commit comments

Comments
 (0)