summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Roehm <jasonr@3db-labs.com>2016-03-15 11:03:00 -0400
committerJason Roehm <jasonr@3db-labs.com>2016-03-15 11:03:00 -0400
commit588002d8c70da8b4c52e409c62a95a63e24b391b (patch)
treeb4c69befc64910605acd1ca7fca2901ec359144f
parentc57c9c41e02907959a5dd78f2896734f0034aafc (diff)
downloadgitlab-ce-588002d8c70da8b4c52e409c62a95a63e24b391b.tar.gz
fixed missing argument in list
-rw-r--r--lib/ci/gitlab_ci_yaml_processor.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ci/gitlab_ci_yaml_processor.rb b/lib/ci/gitlab_ci_yaml_processor.rb
index 610c56ddd92..abab91ddf53 100644
--- a/lib/ci/gitlab_ci_yaml_processor.rb
+++ b/lib/ci/gitlab_ci_yaml_processor.rb
@@ -284,7 +284,7 @@ module Ci
end
end
- def match_ref?(pattern, ref, tag)
+ def match_ref?(pattern, ref, tag, trigger_request)
pattern, path = pattern.split('@', 2)
return false if path && path != self.path
return true if tag && pattern == 'tags'