storage: Fix dbindex heartbeat

This commit is contained in:
Łukasz Magiera 2023-12-20 18:03:47 +01:00
parent f74c3ccd2d
commit 47672e0933

View File

@ -337,7 +337,7 @@ func (dbi *DBIndex) StorageReportHealth(ctx context.Context, id storiface.ID, re
report.Stat.FSAvailable,
report.Stat.Reserved,
report.Stat.Used,
time.Now())
time.Now().UTC())
if err != nil {
return xerrors.Errorf("updating storage health in DB fails with err: %v", err)
}