Skip to content

Commit 61d2882

Browse files
authored
Make sure DTS host.json keys are set on the context (#4659)
1 parent b17c7e8 commit 61d2882

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/commands/appSettings/connectionSettings/durableTaskScheduler/getDTSConnection.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ export async function getDTSConnectionIfNeeded(context: DTSConnectionContext, ap
5858
// If the local settings are pointing to an emulator (i.e. localhost), it's not a concern because it won't actually match up with any remote resources and thus won't show up as a suggestion.
5959
suggestedDTSEndpointLocalSettings: localDTSEndpoint ? tryGetDTSEndpoint(localDTSConnection) : undefined,
6060
suggestedDTSHubNameLocalSettings: localDTSHubName,
61+
newDTSConnectionSettingKey: dtsConnectionKey,
62+
newDTSHubConnectionSettingKey: dtsHubConnectionKey,
6163
};
6264

6365
// Always reset location to avoid potential mismatches with the Durable Task provider offering. If a location was already set and is not valid for this resource type, deployment may fail.

0 commit comments

Comments
 (0)