microsoft / vscode-azurefunctions

Azure Functions extension for VS Code
https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azurefunctions
MIT License
290 stars 131 forks source link

[Suggestion] It would be better to remove the containerized function app when executing "Azure Functions: Deploy to Azure..." command #4146

Closed v-ruizh closed 1 month ago

v-ruizh commented 1 month ago

OS: All Build Version: v1.14.4-alpha.0 Regression: Not a Regression

Repro Steps:

  1. Create a containerized function app.
  2. F1 -> Select "Azure Functions: Deploy to Azure...".
  3. Check whether containerized function app shows in the function app list.

Actual: The containerized function app shows in the function app list. image

Suggestion: It would be better to remove the containerized function app when executing "Azure Functions: Deploy to Azure..." command.

More Info:

  1. Fail to execute "Deploy to Azure..." command for a containerized function app. image
  2. The containerized function app still shows in the list when executing other commands, such as "Deploy to Function App", "Start Streaming Logs", "Start/Restart/Stop", "Configure Deployment Source"...
MicroFish91 commented 1 month ago

I believe @motm32 has already put in a fix for this.