summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2017-03-10 15:41:26 +0000
committerSean McGivern <sean@gitlab.com>2017-03-10 15:41:26 +0000
commit394d83ff17223b52c95bc2fd12cbfcde5a1e193d (patch)
tree5072d3d35a8bd1daa5fcebf7c4ebf804ba0fb96c
parent7ac732a2b4383800d40cfd1af906a07de3df0e7a (diff)
downloadgitlab-ce-394d83ff17223b52c95bc2fd12cbfcde5a1e193d.tar.gz
Fix notes polling failing after code changes
See https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9235
-rw-r--r--lib/gitlab/etag_caching/middleware.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/etag_caching/middleware.rb b/lib/gitlab/etag_caching/middleware.rb
index 0f24f9bbfde..ffbc6e17dc5 100644
--- a/lib/gitlab/etag_caching/middleware.rb
+++ b/lib/gitlab/etag_caching/middleware.rb
@@ -37,7 +37,7 @@ module Gitlab
def get_etag(env)
cache_key = env['PATH_INFO']
- store = Store.new
+ store = Gitlab::EtagCaching::Store.new
current_value = store.get(cache_key)
cached_value_present = current_value.present?