Skip to content

Commit ff39b66

Browse files
committed
non cdn delete set status success
1 parent fa92ad6 commit ff39b66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ func (w *Worker) createDomain(ctx context.Context, d *domain) error {
484484
func (w *Worker) deleteDomain(ctx context.Context, d *domain) error {
485485
deleteDomain := func() error {
486486
if !d.CDN {
487-
return nil
487+
return w.setDomainStatus(ctx, d.ID, api.DomainStatusSuccess)
488488
}
489489
return w.removeDomain(ctx, d.ID)
490490
}

0 commit comments

Comments
 (0)