Skip to content

Commit

Permalink
fix(cmd): debugID argument was ignored after recent logging changes
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuar committed Sep 25, 2023
1 parent 986a109 commit ffc40d6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ var rootCmd = &cobra.Command{
logging.SetLogging(traceFlag, debugFlag, profileFlag)
},
Run: func(cmd *cobra.Command, args []string) {
if debugID != "" {
appID = debugID
}
agent.Run(agent.AgentOptions{
Headless: headlessFlag,
ID: appID,
Expand Down

0 comments on commit ffc40d6

Please sign in to comment.