Skip to content

Commit

Permalink
client: removes unnecessary else
Browse files Browse the repository at this point in the history
  • Loading branch information
arthur authored and andrestc committed Jun 29, 2017
1 parent 91b0afa commit e27c1f1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tsuru/client/apps.go
Expand Up @@ -154,8 +154,6 @@ func (c *AppCreate) Run(context *cmd.Context, client *cmd.Client) error {
appName := context.Args[0]
if len(context.Args) > 1 {
platform = context.Args[1]
} else {
platform = ""
}
v, err := form.EncodeToValues(map[string]interface{}{"routeropts": c.routerOpts})
if err != nil {
Expand Down

0 comments on commit e27c1f1

Please sign in to comment.