summaryrefslogtreecommitdiff
path: root/src/mongo/s/commands/cluster_get_last_error_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/commands/cluster_get_last_error_cmd.cpp')
-rw-r--r--src/mongo/s/commands/cluster_get_last_error_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/commands/cluster_get_last_error_cmd.cpp b/src/mongo/s/commands/cluster_get_last_error_cmd.cpp
index 2e7766c4767..008a4d349e3 100644
--- a/src/mongo/s/commands/cluster_get_last_error_cmd.cpp
+++ b/src/mongo/s/commands/cluster_get_last_error_cmd.cpp
@@ -61,7 +61,7 @@ public:
return false;
}
- virtual bool run(OperationContext*, const std::string&, const BSONObj&, BSONObjBuilder&) {
+ virtual bool run(OperationContext*, const DatabaseName&, const BSONObj&, BSONObjBuilder&) {
uasserted(5739001, "getLastError command is not supported");
return false;
}