Skip to content

Commit

Permalink
fix: PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
joanestebanr committed Nov 14, 2024
1 parent 3f7c928 commit 520486b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions aggsender/aggsender.go
Original file line number Diff line number Diff line change
Expand Up @@ -506,13 +506,13 @@ func (a *AggSender) checkPendingCertificatesStatus(ctx context.Context) bool {
return true
}
elapsedTime := time.Now().UTC().Sub(time.UnixMilli(certificate.CreatedAt))
a.log.Debugf("aggLayerClient.GetCertificateHeader status [%s] of certificate %s elapsed_time:%s",
a.log.Debugf("aggLayerClient.GetCertificateHeader status [%s] of certificate %s elapsed time:%s",
certificateHeader.Status,
certificateHeader.String(),
elapsedTime)

if certificateHeader.Status != certificate.Status {
a.log.Infof("certificate %s changed status from [%s] to [%s] elapsed_time: %s",
a.log.Infof("certificate %s changed status from [%s] to [%s] elapsed time: %s",
certificateHeader.String(), certificate.Status, certificateHeader.Status, elapsedTime)

certificate.Status = certificateHeader.Status
Expand All @@ -525,7 +525,7 @@ func (a *AggSender) checkPendingCertificatesStatus(ctx context.Context) bool {
}
}
if slices.Contains(nonSettledStatuses, certificateHeader.Status) {
a.log.Infof("certificate %s is still pending, elapsed_time:%s ",
a.log.Infof("certificate %s is still pending, elapsed time:%s ",
certificateHeader.String(), elapsedTime)
thereArePendingCerts = true
}
Expand Down

0 comments on commit 520486b

Please sign in to comment.