Skip to content

Use template parameters to start triggers post deployment#433

Open
dsfrederic wants to merge 1 commit intoAzure:mainfrom
dsfrederic:main
Open

Use template parameters to start triggers post deployment#433
dsfrederic wants to merge 1 commit intoAzure:mainfrom
dsfrederic:main

Conversation

@dsfrederic
Copy link

No description provided.

Copy link
Contributor

@soma-ms soma-ms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In Compare-TriggerPayload function runtimeState comparison should be done after replacing the parameter with value, otherwise the script always treats that as change in trigger payload.

if ($triggerDeployed.Properties.RuntimeState -ne $triggerInTemplate.properties.runtimeState) { return $True; }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants