Skip to content

Commit

Permalink
Remove hostname flag from Push
Browse files Browse the repository at this point in the history
The cf CLI removed `--hostname` and `-d` flags from `cf push` back in
v7.0.0. We should not support these options anymore either.
  • Loading branch information
ctlong committed Sep 27, 2022
1 parent 10655d0 commit 31eca81
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cf/push.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ var Push = func(appName string, args ...string) *gexec.Session {
app.Buildpacks = append(app.Buildpacks, args[i+1])
case "-c":
app.Command = args[i+1]
case "-d":
app.Routes = append(app.Routes, map[string]string{"route": fmt.Sprintf("%s.%s", appName, args[i+1])})
case "-i":
instances, err := strconv.Atoi(args[i+1])
if err != nil {
Expand Down

0 comments on commit 31eca81

Please sign in to comment.