()
| 425 | } |
| 426 | |
| 427 | func (l Line) IsMonitorable() bool { |
| 428 | // Users don't want to see "plumbing" cron jobs on their dashboard... |
| 429 | return l.IsJob && !l.IsMetaCronJob() && !l.HasLegacyIntegration() |
| 430 | } |
| 431 | |
| 432 | func (l Line) IsAutoDiscoverCommand() bool { |
| 433 | matched, _ := regexp.MatchString(".+discover[[:space:]]+--auto.*", strings.ToLower(l.CommandToRun)) |
no test coverage detected