Skip to content
This repository has been archived by the owner on Dec 8, 2020. It is now read-only.

Handle missing hooks #24

Merged
merged 1 commit into from
Oct 10, 2018
Merged

Handle missing hooks #24

merged 1 commit into from
Oct 10, 2018

Conversation

tprobinson
Copy link
Contributor

When deleting a hook outside of Terraform then running Terraform again, it blows up with messages like the following:

API Error: 404 2.0/repositories/owner/repoName/hooks/{uuid} repoName is not a valid hook

which makes the run fail.

Unfortunately I wasn't able to figure out a more rigorous method of checking the error returned, Go is not a strong language for me. Feel free to edit this.

@cwood cwood merged commit 1fc08d0 into hashicorp:master Oct 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants