Skip to content

Commit

Permalink
Merge pull request #115 from signalsciences/integration-update-return…
Browse files Browse the repository at this point in the history
…-err

return error when updating an integration fails
  • Loading branch information
shawnps authored Feb 20, 2023
2 parents 4a931ee + 6fe4b13 commit ad6702e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion provider/resource_site_integration.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ func resourceSiteIntegrationUpdate(d *schema.ResourceData, m interface{}) error
if err != nil {
log.Printf("[ERROR] %s. Could not update integration with ID %s in corp %s site %s", err.Error(), d.Id(), pm.Corp, site)
d.SetId("")
return nil
return err
}
return resourceSiteIntegrationRead(d, m)
}
Expand Down

0 comments on commit ad6702e

Please sign in to comment.