Skip to content

Commit 99861ea

Browse files
Update apiserver/billing/odoostorage/odoo/odoo8/odoo8.go
Co-authored-by: Sebastian Widmer <[email protected]>
1 parent 66db92a commit 99861ea

File tree

1 file changed

+2
-2
lines changed
  • apiserver/billing/odoostorage/odoo/odoo8

1 file changed

+2
-2
lines changed

apiserver/billing/odoostorage/odoo/odoo8/odoo8.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,9 +290,9 @@ func (s *Odoo8Storage) Update(ctx context.Context, be *billingv1.BillingEntity)
290290
return nil
291291
}
292292

293+
// CleanupIncompleteRecords looks for partner records in Odoo that still have the "inflight" flag set despite being older than `minAge`. Those records are then deleted.
294+
// Such records might come into existence due to a partially failed creation request.
293295
func (s *FailedRecordScrubber) CleanupIncompleteRecords(ctx context.Context, minAge time.Duration) error {
294-
// CleanupIncompleteRecords looks for partner records in Odoo that still have the "inflight" flag set despite being older than `minAge`. Those records are then deleted.
295-
// Such records might come into existence due to a partially failed creation request.
296296
l := klog.FromContext(ctx)
297297
l.Info("Looking for stale inflight partner records...")
298298

0 commit comments

Comments
 (0)