Skip to content

Commit

Permalink
Fix update
Browse files Browse the repository at this point in the history
  • Loading branch information
komalali committed Nov 5, 2024
1 parent 876b5e9 commit 1d8d156
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/ts-webhooks/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const stackWebhook = new service.Webhook("stack-webhook", {
organizationName: serviceOrg,
projectName: pulumi.getProject(),
stackName: pulumi.getStack(),
payloadUrl: "https://example.com",
payloadUrl: "https://hooks.slack.com/blahblah",
format: WebhookFormat.Slack,
groups: [ WebhookGroup.Stacks ],
filters: [WebhookFilters.DeploymentStarted, WebhookFilters.DeploymentSucceeded],
Expand Down
1 change: 1 addition & 0 deletions provider/pkg/provider/agent_pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ func (ap *PulumiServiceAgentPoolResource) Update(req *pulumirpc.UpdateRequest) (
changedInputs := olds
changedInputs["name"] = news["name"]
changedInputs["description"] = news["description"]
changedInputs["forceDestroy"] = news["forceDestroy"]

inputsAgentPool := ap.ToPulumiServiceAgentPoolInput(changedInputs)
err = ap.updateAgentPool(ctx, agentPoolId, inputsAgentPool)
Expand Down

0 comments on commit 1d8d156

Please sign in to comment.