Skip to content

Commit

Permalink
chore: Fix replace usage in container app bicep (#1168)
Browse files Browse the repository at this point in the history
  • Loading branch information
oskogstad authored Sep 20, 2024
1 parent 08ed93a commit cccfdc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .azure/modules/containerApp/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ param resources object?
param revisionSuffix string?

// Container app revision name does not allow '.' character
revisionSuffix = revisionSuffix.replace('.', '-')
var cleanedRevisionSuffix = replace(revisionSuffix, '.', '-')

var probes = [
{
Expand Down Expand Up @@ -81,7 +81,7 @@ resource containerApp 'Microsoft.App/containerApps@2024-03-01' = {
}
environmentId: containerAppEnvId
template: {
revisionSuffix: revisionSuffix
revisionSuffix: cleanedRevisionSuffix
scale: {
minReplicas: 1
maxReplicas: 1 // temp disable scaling for outbox scheduling
Expand Down

0 comments on commit cccfdc3

Please sign in to comment.