diff --git a/src/SelfServe/SqlX/SqlX.rp.ts b/src/SelfServe/SqlX/SqlX.rp.ts index c53233517..02bbdffdf 100644 --- a/src/SelfServe/SqlX/SqlX.rp.ts +++ b/src/SelfServe/SqlX/SqlX.rp.ts @@ -33,7 +33,11 @@ export const getPath = (subscriptionId: string, resourceGroup: string, name: str return `/subscriptions/${subscriptionId}/resourceGroups/${resourceGroup}/providers/Microsoft.DocumentDB/databaseAccounts/${name}/services/SqlDedicatedGateway`; }; -export const updateDedicatedGatewayResource = async (sku: string, dedicatedGatewayType: string, instances: number): Promise => { +export const updateDedicatedGatewayResource = async ( + sku: string, + dedicatedGatewayType: string, + instances: number, +): Promise => { const path = getPath(userContext.subscriptionId, userContext.resourceGroup, userContext.databaseAccount.name); const body: UpdateDedicatedGatewayRequestParameters = { properties: { diff --git a/src/SelfServe/SqlX/SqlX.tsx b/src/SelfServe/SqlX/SqlX.tsx index 686499513..44265aa89 100644 --- a/src/SelfServe/SqlX/SqlX.tsx +++ b/src/SelfServe/SqlX/SqlX.tsx @@ -73,7 +73,10 @@ const onSKUChange = (newValue: InputType, currentValues: Map): Map => { +const onDedicatedGatewayTypeChange = ( + newValue: InputType, + currentValues: Map, +): Map => { currentValues.set("dedicatedGatewayType", { value: newValue }); return currentValues; }; @@ -202,7 +205,7 @@ const getSkus = async (): Promise => { const dedicatedGatewayTypeDropDownItems: ChoiceItem[] = [ { labelTKey: "Integrated Cache", key: IntegratedCache }, - { labelTKey: "Distributed Query", key: DistributedQuery } + { labelTKey: "Distributed Query", key: DistributedQuery }, ]; const getDedicatedGatewayType = async (): Promise => {