Skip to content

Commit 5b5eb15

Browse files
committed
Reverting unnecessary comment deletion
1 parent 31a924a commit 5b5eb15

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

central/reprocessor/reprocessor.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,7 @@ func (l *loopImpl) reprocessImagesAndResyncDeployments(fetchOpt imageEnricher.Fe
444444
log.Errorw("Error sending reprocessing messages to cluster, skipping cluster until next reprocessing cycle",
445445
logging.ImageName(image.GetName().GetFullName()),
446446
logging.ImageID(image.GetId()), logging.Err(err),
447+
// Not using logging.ClusterID() to avoid "duplicate resource ID field found" panic.
447448
logging.String("dst_cluster", conn.ClusterID()),
448449
)
449450
}
@@ -618,6 +619,7 @@ func (l *loopImpl) reprocessImagesV2AndResyncDeployments(fetchOpt imageEnricher.
618619
log.Errorw("Error sending reprocessing messages to cluster, skipping cluster until next reprocessing cycle",
619620
logging.ImageName(image.GetName().GetFullName()),
620621
logging.ImageID(image.GetId()), logging.Err(err),
622+
// Not using logging.ClusterID() to avoid "duplicate resource ID field found" panic.
621623
logging.String("dst_cluster", conn.ClusterID()),
622624
)
623625
}

0 commit comments

Comments
 (0)