Merge branch 'fix-500-in-notes-polling' into 'master'

Fix notes polling failing after code changes

Closes #29327

See merge request !9862
This commit is contained in:
Rémy Coutable 2017-03-10 18:54:32 +00:00
commit c4ba6ea684

View file

@ -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?