Skip to content

Commit

Permalink
Merge pull request #75 from skx/74-no-limit
Browse files Browse the repository at this point in the history
Don't cap node-reports to 50.
  • Loading branch information
skx authored May 22, 2020
2 parents 0e469a1 + 9999126 commit af0fd3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db.go
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ func getReports(fqdn string) ([]PuppetReportSummary, error) {
//
// Select the status.
//
stmt, err := db.Prepare("SELECT id, fqdn, environment, state, executed_at, runtime, failed, changed, total, yaml_file FROM reports WHERE fqdn=? ORDER by executed_at DESC LIMIT 50")
stmt, err := db.Prepare("SELECT id, fqdn, environment, state, executed_at, runtime, failed, changed, total, yaml_file FROM reports WHERE fqdn=? ORDER by executed_at DESC")
if err != nil {
return nil, err
}
Expand Down

0 comments on commit af0fd3f

Please sign in to comment.