Skip to content

Commit fe251e9

Browse files
authored
Only provide Durable flex consumption warning for DTS apps (#4718)
1 parent 8a706d3 commit fe251e9

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/commands/deploy/deploy.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -176,11 +176,10 @@ async function deploy(actionContext: IActionContext, arg1: vscode.Uri | string |
176176
}
177177
}
178178

179-
if (durableStorageType && durableStorageType !== DurableBackend.Storage && isFlexConsumption) {
180-
// https://github.com/Azure/azure-functions-durable-extension/issues/2957
181-
const warning: string = localize('durableStorageTypeWarning', 'This flex consumption app is using an unsupported durable functions storage provider. For a flex consumption plan, durable functions are only supported with an Azure Storage backend.');
179+
if (durableStorageType === DurableBackend.DTS && isFlexConsumption) {
180+
const warning: string = localize('durableStorageTypeWarning', 'The Durable Task Scheduler (DTS) storage provider is not yet supported for apps on a flex consumption plan.');
182181
ext.outputChannel.appendLog(warning);
183-
await context.ui.showWarningMessage(warning, { modal: true, learnMoreLink: 'https://aka.ms/durable-storage-flex-consumption' }, { title: localize('continue', 'Continue') });
182+
await context.ui.showWarningMessage(warning, { modal: true }, { title: localize('continue', 'Continue') });
184183
}
185184

186185
Object.assign(context, await getStorageConnectionIfNeeded(Object.assign(context, subscriptionContext), appSettings, site, context.projectPath));

0 commit comments

Comments
 (0)