We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa92ad6 commit ff39b66Copy full SHA for ff39b66
main.go
@@ -484,7 +484,7 @@ func (w *Worker) createDomain(ctx context.Context, d *domain) error {
484
func (w *Worker) deleteDomain(ctx context.Context, d *domain) error {
485
deleteDomain := func() error {
486
if !d.CDN {
487
- return nil
+ return w.setDomainStatus(ctx, d.ID, api.DomainStatusSuccess)
488
}
489
return w.removeDomain(ctx, d.ID)
490
0 commit comments