diff options
author | Matija Čupić <matteeyah@gmail.com> | 2018-11-06 20:35:44 +0300 |
---|---|---|
committer | Matija Čupić <matteeyah@gmail.com> | 2018-11-06 20:35:44 +0300 |
commit | 4ba960c17d07e5863045c74fb554ebe71575d54d (patch) | |
tree | 6b4e7e850bd65725203080f7ae4123123b782cab /lib/gitlab/ci/yaml_processor.rb | |
parent | f48261a409f4f4d73118621330796ed92623f08e (diff) |
Use instance based approach for Normalizer
Diffstat (limited to 'lib/gitlab/ci/yaml_processor.rb')
-rw-r--r-- | lib/gitlab/ci/yaml_processor.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/ci/yaml_processor.rb b/lib/gitlab/ci/yaml_processor.rb index 63b55c57913..f65a4e198cc 100644 --- a/lib/gitlab/ci/yaml_processor.rb +++ b/lib/gitlab/ci/yaml_processor.rb @@ -104,7 +104,7 @@ module Gitlab ## # Jobs # - @jobs = Ci::Config::Normalizer.normalize_jobs(@ci_config.jobs) + @jobs = Ci::Config::Normalizer.new(@ci_config.jobs).normalize_jobs @jobs.each do |name, job| # logical validation for job |