Skip to content

Commit

Permalink
chore: fix lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderblue committed Apr 11, 2024
1 parent 5fc5549 commit a2e9322
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/entities/command_search.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ The search command performs a search for New Relic entities.
}

if entityReporting != "" {
r, err := strconv.ParseBool(entityReporting)
var r bool
r, err = strconv.ParseBool(entityReporting)
utils.LogIfFatal(err)
searchParams.IsReporting = &r
}
Expand Down

0 comments on commit a2e9322

Please sign in to comment.