From da881326fbf48cfc49ef640af97b3f6361431eb5 Mon Sep 17 00:00:00 2001 From: Hanxiao Liu Date: Thu, 15 Jun 2023 09:37:46 +0800 Subject: [PATCH] Fix one deploy may be skipped as we only get the WebSiteBasic instance --- .../azure/toolkit/lib/appservice/webapp/WebAppBase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-toolkit-libs/azure-toolkit-appservice-lib/src/main/java/com/microsoft/azure/toolkit/lib/appservice/webapp/WebAppBase.java b/azure-toolkit-libs/azure-toolkit-appservice-lib/src/main/java/com/microsoft/azure/toolkit/lib/appservice/webapp/WebAppBase.java index 478c4c9c87..e15631c308 100644 --- a/azure-toolkit-libs/azure-toolkit-appservice-lib/src/main/java/com/microsoft/azure/toolkit/lib/appservice/webapp/WebAppBase.java +++ b/azure-toolkit-libs/azure-toolkit-appservice-lib/src/main/java/com/microsoft/azure/toolkit/lib/appservice/webapp/WebAppBase.java @@ -57,7 +57,7 @@ public void deploy(@Nonnull DeployType deployType, @Nonnull File targetFile, @Nullable public KuduDeploymentResult pushDeploy(@Nonnull DeployType deployType, @Nonnull File targetFile, @Nullable DeployOptions deployOptions) { - final WebSiteBase remote = this.getRemote(); + final WebSiteBase remote = this.getFullRemote(); if (remote instanceof SupportsOneDeploy) { final com.azure.resourcemanager.appservice.models.DeployOptions options = deployOptions == null ? null : AppServiceUtils.toDeployOptions(deployOptions);