Skip to content

Commit e865351

Browse files
committed
Fix
1 parent a792b8d commit e865351

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cloud/tasks/collect_lister_metrics_task.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ func (c *collectListerMetricsTask) Run(
5454
for {
5555
select {
5656
case <-ctx.Done():
57-
return nil
57+
return ctx.Err()
5858
case <-ticker.C:
5959
for _, taskStatus := range taskStatuses {
6060
err := c.collectTasksMetrics(

0 commit comments

Comments
 (0)