summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/get_cluster_parameter_invocation.h
diff options
context:
space:
mode:
authorGabriel Marks <gabriel.marks@mongodb.com>2022-09-02 17:49:54 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-09-02 19:32:50 +0000
commitc8858462a9e9e5eee912db81e9f069f01b3aa6d4 (patch)
tree6c019346b4d46c2f41f4491f32584e4ae805ac17 /src/mongo/db/commands/get_cluster_parameter_invocation.h
parentd4a75cff6bc10b74edb54945cb7104b725554d97 (diff)
downloadmongo-c8858462a9e9e5eee912db81e9f069f01b3aa6d4.tar.gz
SERVER-68343 Handle tenantId in GetClusterParameterInvocation & ClusterServerParameterOpObserver
Diffstat (limited to 'src/mongo/db/commands/get_cluster_parameter_invocation.h')
-rw-r--r--src/mongo/db/commands/get_cluster_parameter_invocation.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/commands/get_cluster_parameter_invocation.h b/src/mongo/db/commands/get_cluster_parameter_invocation.h
index a122cd6be94..a980151aabe 100644
--- a/src/mongo/db/commands/get_cluster_parameter_invocation.h
+++ b/src/mongo/db/commands/get_cluster_parameter_invocation.h
@@ -53,9 +53,9 @@ public:
private:
// Parses the command body and retrieves the BSON representation and names of the requested
- // cluster parameters.
+ // cluster parameters for the given tenant.
std::pair<std::vector<std::string>, std::vector<BSONObj>> retrieveRequestedParameters(
- OperationContext* opCtx, const CmdBody& cmdBody);
+ OperationContext* opCtx, const CmdBody& cmdBody, const boost::optional<TenantId>& tenantId);
};
} // namespace mongo