diff options
Diffstat (limited to 'src/mongo/db/commands/refresh_sessions_command.cpp')
-rw-r--r-- | src/mongo/db/commands/refresh_sessions_command.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/db/commands/refresh_sessions_command.cpp b/src/mongo/db/commands/refresh_sessions_command.cpp index 8e65c32fa9d..3f1d3d932cd 100644 --- a/src/mongo/db/commands/refresh_sessions_command.cpp +++ b/src/mongo/db/commands/refresh_sessions_command.cpp @@ -86,7 +86,8 @@ public: if (serverGlobalParams.featureCompatibility.getVersion() != ServerGlobalParams::FeatureCompatibility::Version::kFullyUpgradedTo36) { - return appendCommandStatus(result, SessionsCommandFCV34Status(getName())); + return CommandHelpers::appendCommandStatus(result, + SessionsCommandFCV34Status(getName())); } IDLParserErrorContext ctx("RefreshSessionsCmdFromClient"); @@ -94,7 +95,7 @@ public: auto res = LogicalSessionCache::get(opCtx->getServiceContext())->refreshSessions(opCtx, cmd); if (!res.isOK()) { - return appendCommandStatus(result, res); + return CommandHelpers::appendCommandStatus(result, res); } return true; |