Skip to content

Commit

Permalink
[chronos-sync] Strip dependent jobs before comparison.
Browse files Browse the repository at this point in the history
  • Loading branch information
Brenden Matthews committed Mar 23, 2014
1 parent 61511a3 commit 1f381af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/chronos-sync.rb
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def write_job(f, job)
if dependent_jobs.include? name
existing_job = dependent_jobs[name]
new_job = job
if options.force || !dependent_jobs.include?(name) || existing_job.to_s != new_job.to_s
if options.force || !dependent_jobs.include?(name) || strip_job(existing_job).to_s != strip_job(new_job).to_s
dependent_jobs_to_be_updated_set.add(job['name'])
dependent_jobs_to_be_updated << {
:new => job,
Expand Down

0 comments on commit 1f381af

Please sign in to comment.