-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mgmt, bug fix for appservice Function App on ACA, prepare release patch #39044
mgmt, bug fix for appservice Function App on ACA, prepare release patch #39044
Conversation
API change check API changes are not detected in this pull request. |
@@ -646,7 +657,7 @@ private void adaptForFunctionAppOnACA() { | |||
siteConfigInner.withLinuxFxVersion(this.siteConfig.linuxFxVersion()); | |||
siteConfigInner.withMinimumElasticInstanceCount(this.siteConfig.minimumElasticInstanceCount()); | |||
siteConfigInner.withFunctionAppScaleLimit(this.siteConfig.functionAppScaleLimit()); | |||
siteConfigInner.withAppSettings(this.siteConfig.appSettings()); | |||
siteConfigInner.withAppSettings(this.siteConfig.appSettings() == null ? new ArrayList<>() : this.siteConfig.appSettings()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed NPE bug. This bug happened when update doesn't touch any ACA configurations.
.withMinReplicas(3) | ||
.withPrivateRegistryImage("xiaofeiacr.azurecr.io/samples/nginx:latest", "xiaofeiacr.azurecr.io") | ||
.withPrivateRegistryImage("samples/nginx:latest", "https://xiaofeiacr.azurecr.io") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACA doesn't allow URL with https
anymore... Previously we exposed that to the customer. Here we align the behavior with normal FunctionApp.
...rvice/src/main/java/com/azure/resourcemanager/appservice/implementation/FunctionAppImpl.java
Show resolved
Hide resolved
...manager-appservice/src/test/java/com/azure/resourcemanager/appservice/FunctionAppsTests.java
Outdated
Show resolved
Hide resolved
...manager-appservice/src/test/java/com/azure/resourcemanager/appservice/FunctionAppsTests.java
Outdated
Show resolved
Hide resolved
878ad07
into
Azure:release/azure-resourcemanager-appservice/2.36.1
Description
withPrivateRegistryImage
doesn't work as expected for Function App in Azure Container Apps.Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines