Skip to content

Commit bf96564

Browse files
author
Aaron Schlesinger
committed
ref(slug_builder_info.go): remove double sprintf
1 parent c3b4e4b commit bf96564

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/gitreceive/storage/slug_builder_info.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type SlugBuilderInfo struct {
1818
func NewSlugBuilderInfo(s3Endpoint, appName, slugName string, gitSha *git.SHA) *SlugBuilderInfo {
1919
tarKey := fmt.Sprintf("home/%s/tar", slugName)
2020
// this is where workflow tells slugrunner to download the slug from, so we have to tell slugbuilder to upload it to here
21-
pushKey := fmt.Sprintf("home/%s/push", fmt.Sprintf("%s:git-%s", appName, gitSha.Short))
21+
pushKey := fmt.Sprintf("home/%s:git-%s/push", appName, gitSha.Short)
2222

2323
return &SlugBuilderInfo{
2424
PushKey: pushKey,

0 commit comments

Comments
 (0)