From 51ed8fd706802fe0fffe7a2db0b5adc1f2196e50 Mon Sep 17 00:00:00 2001
From: Douwe Maan <douwe@gitlab.com>
Date: Thu, 22 Oct 2015 15:40:21 +0200
Subject: [PATCH] Use correct var name

---
 lib/gitlab/markdown.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/gitlab/markdown.rb b/lib/gitlab/markdown.rb
index 5f1a6c8ceec..969607558ef 100644
--- a/lib/gitlab/markdown.rb
+++ b/lib/gitlab/markdown.rb
@@ -77,7 +77,7 @@ module Gitlab
     def self.full_cache_key(cache_key, pipeline_name)
       return unless cache_key
       pipeline_name ||= :full
-      ["markdown", *cache_key, pipeline]
+      ["markdown", *cache_key, pipeline_name]
     end
 
     def self.pipeline_by_name(pipeline_name)
-- 
GitLab