Skip to content

Commit 570830e

Browse files
Merge pull request #2309 from microsoft/hanli/fix-webapp-deployment
Fix one deploy may be skipped as we only get the WebSiteBasic instance
2 parents 54e86a5 + da88132 commit 570830e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • azure-toolkit-libs/azure-toolkit-appservice-lib/src/main/java/com/microsoft/azure/toolkit/lib/appservice/webapp

azure-toolkit-libs/azure-toolkit-appservice-lib/src/main/java/com/microsoft/azure/toolkit/lib/appservice/webapp/WebAppBase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public void deploy(@Nonnull DeployType deployType, @Nonnull File targetFile,
5757
@Nullable
5858
public KuduDeploymentResult pushDeploy(@Nonnull DeployType deployType, @Nonnull File targetFile,
5959
@Nullable DeployOptions deployOptions) {
60-
final WebSiteBase remote = this.getRemote();
60+
final WebSiteBase remote = this.getFullRemote();
6161
if (remote instanceof SupportsOneDeploy) {
6262
final com.azure.resourcemanager.appservice.models.DeployOptions options =
6363
deployOptions == null ? null : AppServiceUtils.toDeployOptions(deployOptions);

0 commit comments

Comments
 (0)