summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/kill_all_sessions_command.cpp
diff options
context:
space:
mode:
authorBilly Donahue <billy.donahue@mongodb.com>2018-01-10 17:09:22 -0500
committerBilly Donahue <billy.donahue@mongodb.com>2018-01-16 13:52:44 -0500
commita6e45f0e35724ae7958e31fc141c89afcefe4d33 (patch)
tree5ac0bf28fc1b977078845cbff966ff3427cfaa92 /src/mongo/db/commands/kill_all_sessions_command.cpp
parent1378f8ec42068913c5bdc5927bbe86d5aed08814 (diff)
downloadmongo-a6e45f0e35724ae7958e31fc141c89afcefe4d33.tar.gz
SERVER-32646 CommandHelpers
Diffstat (limited to 'src/mongo/db/commands/kill_all_sessions_command.cpp')
-rw-r--r--src/mongo/db/commands/kill_all_sessions_command.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/db/commands/kill_all_sessions_command.cpp b/src/mongo/db/commands/kill_all_sessions_command.cpp
index d0ef93cb466..907ffbe51d1 100644
--- a/src/mongo/db/commands/kill_all_sessions_command.cpp
+++ b/src/mongo/db/commands/kill_all_sessions_command.cpp
@@ -94,7 +94,8 @@ public:
if (serverGlobalParams.featureCompatibility.getVersion() !=
ServerGlobalParams::FeatureCompatibility::Version::kFullyUpgradedTo36) {
- return appendCommandStatus(result, SessionsCommandFCV34Status(getName()));
+ return CommandHelpers::appendCommandStatus(result,
+ SessionsCommandFCV34Status(getName()));
}
IDLParserErrorContext ctx("KillAllSessionsCmd");
@@ -113,7 +114,8 @@ public:
}
}
- return appendCommandStatus(result, killSessionsCmdHelper(opCtx, result, patterns));
+ return CommandHelpers::appendCommandStatus(result,
+ killSessionsCmdHelper(opCtx, result, patterns));
}
} killAllSessionsCommand;