Skip to content

Commit 48d257f

Browse files
author
Aaron Schlesinger
committed
fix(pkg/gitreceive/build.go): logging the full S3 URL instead of just the schema-less url string
1 parent 01e2f5f commit 48d257f

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
@@ -120,7 +120,7 @@ func build(conf *Config, s3Client *storage.Client, kubeClient *client.Client, fs
120120
return fmt.Errorf("opening %s for read (%s)", appTgz, err)
121121
}
122122

123-
log.Debug("Uploading tar to %s/%s/%s", s3Client.Endpoint.URLStr, conf.Bucket, slugBuilderInfo.TarKey())
123+
log.Debug("Uploading tar to %s/%s/%s", s3Client.Endpoint.FullURL(), conf.Bucket, slugBuilderInfo.TarKey())
124124
if err := storage.UploadObject(s3Client, conf.Bucket, slugBuilderInfo.TarKey(), appTgzReader); err != nil {
125125
return fmt.Errorf("uploading %s to %s/%s (%v)", absAppTgz, conf.Bucket, slugBuilderInfo.TarKey(), err)
126126
}

0 commit comments

Comments
 (0)