Caching: Consolidate resource cache checking and updating in plugin middleware (#67002)
* Update the HandleResourceRequest function to mimic the HandleQueryRequest function * Remove CacheResourceResponse function from interface * revert additional thing I missed
This commit is contained in:
@@ -78,7 +78,6 @@ func TestCallResource(t *testing.T) {
|
||||
hs.QuotaService = quotatest.New(false, nil)
|
||||
hs.pluginStore = ps
|
||||
hs.pluginClient = pluginClient.ProvideService(reg, pCfg)
|
||||
hs.cachingService = &caching.OSSCachingService{}
|
||||
})
|
||||
|
||||
t.Run("Test successful response is received for valid request", func(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user