Skip to content

Commit

Permalink
Resolve 404 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
malcolmholmes committed Jul 11, 2024
1 parent 9f97941 commit 88ef530
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/common/errcheck.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
)

const NotFoundError = "status: 404"
const NotFoundError = "404"

// CheckReadError checks for common cases on resource read/delete paths:
// - If the resource no longer exists and 404s, it should be removed from state and return nil, to stop processing the read.
Expand Down

0 comments on commit 88ef530

Please sign in to comment.