mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-14 01:25:37 -05:00
Fix container cleanup message disappearing - causing apparent hang (#19910)
* Fix container cleanup message causing apparent hang * remove comment
This commit is contained in:
@@ -181,7 +181,11 @@ export class DeployService {
|
||||
// Clean up existing docker image
|
||||
const containerIds = await this.getCurrentDockerContainer(imageLabel);
|
||||
if (containerIds.length > 0) {
|
||||
const result = await vscode.window.showWarningMessage(constants.containerAlreadyExistForProject, constants.yesString, constants.noString);
|
||||
const result = await vscode.window.showQuickPick([constants.yesString, constants.noString],
|
||||
{
|
||||
title: constants.containerAlreadyExistForProject,
|
||||
ignoreFocusOut: true
|
||||
});
|
||||
if (result === constants.yesString) {
|
||||
this.logToOutput(constants.cleaningDockerImagesMessage);
|
||||
await this.cleanDockerObjects(containerIds, ['docker stop', 'docker rm']);
|
||||
|
||||
Reference in New Issue
Block a user