diff options
author | Sean McGivern <sean@gitlab.com> | 2017-03-10 15:41:26 +0000 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2017-03-10 15:41:26 +0000 |
commit | 394d83ff17223b52c95bc2fd12cbfcde5a1e193d (patch) | |
tree | 5072d3d35a8bd1daa5fcebf7c4ebf804ba0fb96c /lib | |
parent | 7ac732a2b4383800d40cfd1af906a07de3df0e7a (diff) | |
download | gitlab-ce-394d83ff17223b52c95bc2fd12cbfcde5a1e193d.tar.gz |
Fix notes polling failing after code changes
See https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9235
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/etag_caching/middleware.rb | 2 |
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? |