mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-17 17:22:42 -05:00
Chaning the name of server in deploy option if target is Azure (#18828)
This commit is contained in:
@@ -339,14 +339,14 @@ export class ProjectsController {
|
||||
* Create flow for Publishing a database using only VS Code-native APIs such as QuickPick
|
||||
*/
|
||||
private async publishDatabase(project: Project): Promise<void> {
|
||||
const publishTarget = await launchPublishTargetOption();
|
||||
const publishTarget = await launchPublishTargetOption(project);
|
||||
|
||||
// Return when user hits escape
|
||||
if (!publishTarget) {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
if (publishTarget === constants.publishToDockerContainer) {
|
||||
if (publishTarget === constants.PublishTargetType.docker) {
|
||||
const deployProfile = await launchPublishToDockerContainerQuickpick(project);
|
||||
if (deployProfile?.deploySettings) {
|
||||
await this.publishToDockerContainer(project, deployProfile);
|
||||
|
||||
Reference in New Issue
Block a user