From 89e537f3565f0138d53ced535edb93b7990c932e Mon Sep 17 00:00:00 2001 From: "Craig Boger (from Dev Box)" Date: Fri, 3 Jan 2025 15:45:33 -0800 Subject: [PATCH] Update cosmos client to fix bug. Clients continuously generate after changing RBAC setting. --- src/Common/CosmosClient.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Common/CosmosClient.ts b/src/Common/CosmosClient.ts index bb800eacc..5b9b71ef3 100644 --- a/src/Common/CosmosClient.ts +++ b/src/Common/CosmosClient.ts @@ -194,6 +194,8 @@ enum SDKSupportedCapabilities { let _client: Cosmos.CosmosClient; export function client(): Cosmos.CosmosClient { + console.log(`Client Call`); + console.log(`Client Call: userContext.hasDataPlaneRbacSettingChanged: ${userContext.hasDataPlaneRbacSettingChanged}`); if (_client) { if (!userContext.refreshCosmosClient) { return _client;