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.cpp4
1 files changed, 2 insertions, 2 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 57e036562eb..8633618dd4c 100644
--- a/src/mongo/s/commands/cluster_get_last_error_cmd.cpp
+++ b/src/mongo/s/commands/cluster_get_last_error_cmd.cpp
@@ -184,9 +184,9 @@ Status enforceLegacyWriteConcern(OperationContext* opCtx,
}
-class GetLastErrorCmd : public Command {
+class GetLastErrorCmd : public BasicCommand {
public:
- GetLastErrorCmd() : Command("getLastError", "getlasterror") {}
+ GetLastErrorCmd() : BasicCommand("getLastError", "getlasterror") {}
virtual bool supportsWriteConcern(const BSONObj& cmd) const override {
return false;