Skip to content

Commit

Permalink
Get app name CmdContext.AppName
Browse files Browse the repository at this point in the history
  • Loading branch information
rugwirobaker committed Oct 6, 2021
1 parent 77caa60 commit 1f04379
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func runLogs(cc *cmdctx.CmdContext) error {
client := cc.Client.API()

opts := &logs.LogOptions{
AppName: cc.Config.GetString("app"),
AppName: cc.AppName,
RegionCode: cc.Config.GetString("region"),
VMID: cc.Config.GetString("instance"),
}
Expand Down

0 comments on commit 1f04379

Please sign in to comment.