diff options
Diffstat (limited to 'src/mongo/s/client/shard_connection.cpp')
-rw-r--r-- | src/mongo/s/client/shard_connection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/client/shard_connection.cpp b/src/mongo/s/client/shard_connection.cpp index abce4b04db2..6f059b485fa 100644 --- a/src/mongo/s/client/shard_connection.cpp +++ b/src/mongo/s/client/shard_connection.cpp @@ -282,7 +282,7 @@ namespace { Shard::getAllShards( all ); // Don't report exceptions here as errors in GetLastError - LastError::Disabled ignoreForGLE(lastError.get(false)); + LastError::Disabled ignoreForGLE(&LastError::get(cc())); // Now only check top-level shard connections for ( unsigned i=0; i<all.size(); i++ ) { |