Skip to content

Commit

Permalink
expose more job variables via yaml files
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Ngo committed Mar 4, 2015
1 parent fa85bbd commit 20530c5
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions bin/chronos-sync.rb
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,6 @@ def normalize_job(job)
newjob.delete 'lastSuccess'
newjob.delete 'lastError'
newjob.delete 'errorsSinceLastSuccess'
newjob.delete 'async'
newjob.delete 'epsilon'
newjob.delete 'retries'
newjob.delete 'executor'
newjob.delete 'executorFlags'
newjob.delete 'disabled'

# Define optional fields, if not present
newjob['uris'] = [] if !newjob.include?('uris')
Expand Down

0 comments on commit 20530c5

Please sign in to comment.