Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
imjaroiswebdev committed Jan 9, 2023
1 parent 3c052c1 commit f7ad1ee
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,3 @@ require (
google.golang.org/genproto v0.0.0-20201109203340-2640f1f9cdfb // indirect
google.golang.org/grpc v1.33.2 // indirect
)

replace github.com/heimweh/go-pagerduty => github.com/imjaroiswebdev/go-pagerduty v0.0.0-20230105193220-4341f1ea9ed9
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func resourcePagerDutyAutomationActionsActionServiceAssociationDelete(d *schema.
log.Printf("[INFO] Deleting PagerDuty AutomationActionsActionServiceAssociation %s", d.Id())

retryErr := resource.Retry(2*time.Minute, func() *resource.RetryError {
if _, err := client.AutomationActionsAction.DissociateToService(actionID, serviceID); err != nil {
if _, err := client.AutomationActionsAction.DissociateFromService(actionID, serviceID); err != nil {
return resource.RetryableError(err)
}
return nil
Expand Down

0 comments on commit f7ad1ee

Please sign in to comment.