Skip to content

Commit e5c00ec

Browse files
committed
fix: r
Signed-off-by: ashing <[email protected]>
1 parent d54b446 commit e5c00ec

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

internal/provider/adc/adc.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,9 @@ func (d *adcClient) sync(ctx context.Context, task Task) error {
452452
pkgmetrics.RecordSyncDuration(config.Name, resourceType, status, duration)
453453
}
454454

455+
if len(errs.Errors) > 0 {
456+
return errs
457+
}
455458
return nil
456459
}
457460

0 commit comments

Comments
 (0)