diff --git a/NoRM/IMongoAdmin.cs b/NoRM/IMongoAdmin.cs index 49f8790a..773e5d72 100644 --- a/NoRM/IMongoAdmin.cs +++ b/NoRM/IMongoAdmin.cs @@ -12,7 +12,7 @@ public interface IMongoAdmin : IDisposable BuildInfoResponse BuildInfo(); IMongoDatabase Database { get; } DroppedDatabaseResponse DropDatabase(); - ForceSyncResponse ForceSync(bool async); + ForceSyncResponse ForceSync(bool isAsync); IEnumerable GetAllDatabases(); IEnumerable GetCurrentOperations(); int GetProfileLevel(); diff --git a/NoRM/MongoAdmin.cs b/NoRM/MongoAdmin.cs index c058eeba..2410d518 100644 --- a/NoRM/MongoAdmin.cs +++ b/NoRM/MongoAdmin.cs @@ -182,12 +182,12 @@ public IEnumerable GetAllDatabases() /// /// Request that the server write any uncommitted writes to the filesystem. /// - /// if set to true [async]. + /// if set to true [async]. /// - public ForceSyncResponse ForceSync(bool async) + public ForceSyncResponse ForceSync(bool isAsync) { AssertConnectedToAdmin(); - return this.Database.GetCollection("$cmd").FindOne(new { fsync = 1d, async }); + return this.Database.GetCollection("$cmd").FindOne(new { fsync = 1d, isAsync }); } ///