Skip to content
This repository has been archived by the owner on Dec 24, 2022. It is now read-only.

Commit

Permalink
fix build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Jul 31, 2012
1 parent cc469cb commit 6def3da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -32,7 +32,7 @@ public ICacheClient GetCacheClient()

public ICacheClient GetReadOnlyCacheClient()
{
return new RedisClientManagerCacheClient(this) { ReadOnly = true;};
return new RedisClientManagerCacheClient(this) { ReadOnly = true };
}
}
}
2 changes: 1 addition & 1 deletion src/ServiceStack.Redis/RedisClientManagerCacheClient.cs
Expand Up @@ -50,7 +50,7 @@ public ICacheClient GetClient()

public bool Remove(string key)
{
using (IRedisClient client = GetClient())
using (var client = GetClient())
{
return client.Remove(key);
}
Expand Down

0 comments on commit 6def3da

Please sign in to comment.