Skip to content

Commit

Permalink
Remove code duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
polipaul committed Jul 14, 2023
1 parent 2b0b5a2 commit d10c8e5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/jobs/AbstractJob.ts
Original file line number Diff line number Diff line change
Expand Up @@ -320,9 +320,6 @@ export abstract class AbstractJob {
return;
}

if (!this.config) {
throw this.err('Cant read the jobs config');
}
if (!this.agent.getIsAgentUp()) {
this.clog(`Agent with keeperId ${this.agent.getKeeperId()} is currently disabled. Can't watch job`);
return;
Expand Down

0 comments on commit d10c8e5

Please sign in to comment.