Skip to content

Commit

Permalink
Change argument named 'key' to pass local variable key instead of cac…
Browse files Browse the repository at this point in the history
…hePath
  • Loading branch information
ndrwrbgs committed Dec 28, 2019
1 parent ea39af8 commit 3dd505c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FileCache/FileCache.cs
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,7 @@ public override object Get(string key, string regionName = null)
if (payload.Policy.SlidingExpiration > new TimeSpan())
{
payload.Policy.AbsoluteExpiration = DateTime.Now.Add(payload.Policy.SlidingExpiration);
WriteHelper(PayloadWriteMode, cachedItemPath, payload, regionName, true);
WriteHelper(PayloadWriteMode, key, payload, regionName, true);
}

}
Expand Down

0 comments on commit 3dd505c

Please sign in to comment.