Skip to content

Commit

Permalink
Merge pull request #179 from giveadamakick/fix-forked-repository-404-…
Browse files Browse the repository at this point in the history
…error

ignore 404 error when forked repo pipeline config not found
  • Loading branch information
DrFaust92 authored Oct 25, 2023
2 parents c5964ed + c141355 commit fdb570d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bitbucket/resource_forked_repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ func resourceForkedRepositoryRead(ctx context.Context, d *schema.ResourceData, m
d.Set("link", flattenLinks(repoRes.Links))

pipelinesConfigReq, res, err := pipeApi.GetRepositoryPipelineConfig(c.AuthContext, workspace, repoSlug)
if err := handleClientError(err); err != nil {
if err := handleClientError(err); err != nil && res.StatusCode != http.StatusNotFound {
return diag.FromErr(err)
}

Expand Down

0 comments on commit fdb570d

Please sign in to comment.