diff --git a/internal/store/db.go b/internal/store/db.go index 4f7d757..4cfca2b 100644 --- a/internal/store/db.go +++ b/internal/store/db.go @@ -196,11 +196,6 @@ func (store *Store) GetJob(id string) (*Job, error) { return nil, fmt.Errorf("GetJob: error scanning job row -> %w", err) } - exclusions, err := store.GetAllJobExclusions(id) - if err == nil { - job.Exclusions = exclusions - } - if job.LastRunUpid != nil { task, err := store.GetTaskByUPID(*job.LastRunUpid) if err != nil { @@ -329,11 +324,6 @@ func (store *Store) GetAllJobs() ([]Job, error) { return nil, fmt.Errorf("GetAllJobs: error scanning job row -> %w", err) } - exclusions, err := store.GetAllJobExclusions(job.ID) - if err == nil { - job.Exclusions = exclusions - } - if job.LastRunUpid != nil { task, err := store.GetTaskByUPID(*job.LastRunUpid) if err != nil {