From 9eabd7230da59708981a9ab5f176beaf97aa6923 Mon Sep 17 00:00:00 2001 From: Grzegorz Bizon Date: Thu, 31 Aug 2017 13:48:23 +0200 Subject: Remove unused method from CI/CD YAML processor --- lib/ci/gitlab_ci_yaml_processor.rb | 6 ------ 1 file changed, 6 deletions(-) (limited to 'lib/ci') diff --git a/lib/ci/gitlab_ci_yaml_processor.rb b/lib/ci/gitlab_ci_yaml_processor.rb index 72a38e97648..e767ffd2211 100644 --- a/lib/ci/gitlab_ci_yaml_processor.rb +++ b/lib/ci/gitlab_ci_yaml_processor.rb @@ -32,12 +32,6 @@ module Ci end end - def builds_for_ref(ref, tag = false, source = nil) - jobs_for_ref(ref, tag, source).map do |name, _| - build_attributes(name) - end - end - def builds_for_stage_and_ref(stage, ref, tag = false, source = nil) jobs_for_stage_and_ref(stage, ref, tag, source).map do |name, _| build_attributes(name) -- cgit v1.2.3