Skip to content

Commit

Permalink
Merge branch 'master' of github.com:superfly/flyctl
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldwan committed Mar 26, 2021
2 parents 2d76a47 + ae4691b commit 3577035
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/ssh_terminal.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ func runSSHConsole(ctx *cmdctx.CmdContext) error {

terminal.Debugf("Retrieving app info for %s\n", ctx.AppConfig.AppName)

if ctx.AppConfig.AppName == "" {
ctx.AppConfig.AppName = ctx.AppName
}

app, err := client.GetApp(ctx.AppConfig.AppName)
if err != nil {
return fmt.Errorf("get app: %w", err)
Expand Down

0 comments on commit 3577035

Please sign in to comment.