command/push: the -name parameter actually works

This commit is contained in:
Mitchell Hashimoto 2015-06-09 21:09:09 -07:00
parent 91cfe5edf4
commit 6e9fb6a9d1
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ func (c *PushCommand) Run(args []string) int {
// Build the upload options
var uploadOpts uploadOpts
uploadOpts.Slug = push.Name
uploadOpts.Slug = name
uploadOpts.Builds = make(map[string]*uploadBuildInfo)
for _, b := range tpl.Builders {
info := &uploadBuildInfo{Type: b.Type}