Skip to content

Commit

Permalink
reload error page to update id
Browse files Browse the repository at this point in the history
  • Loading branch information
smashi committed Sep 11, 2024
1 parent 1c783c2 commit 7734a84
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions myrasec/resource_myrasec_error_page.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,8 @@ func resourceMyrasecErrorPageUpdate(ctx context.Context, d *schema.ResourceData,
return diags
}

errorPage, diags = findErrorPageByErrorCode(errorPage.SubDomainName, errorPage.ErrorCode, meta, domainID)

setErrorPageData(d, errorPage, domainID)

return diags
Expand Down

0 comments on commit 7734a84

Please sign in to comment.