Send undefined poolId instead of "default" pool (#1589)

This commit is contained in:
Armando Trejo Oliver 2023-08-24 16:05:09 -07:00 committed by GitHub
parent 3d02f07262
commit 55846b98bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -395,7 +395,7 @@ export default class Explorer {
) { ) {
const provisionData: IProvisionData = { const provisionData: IProvisionData = {
cosmosEndpoint: userContext?.databaseAccount?.properties?.documentEndpoint, cosmosEndpoint: userContext?.databaseAccount?.properties?.documentEndpoint,
poolId: poolId, poolId: poolId === PoolIdType.DefaultPoolId ? undefined : poolId,
}; };
const connectionStatus: ContainerConnectionInfo = { const connectionStatus: ContainerConnectionInfo = {
status: ConnectionStatusType.Connecting, status: ConnectionStatusType.Connecting,