From 47672e0933bed356a74ddc3779c18d1e13131304 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Wed, 20 Dec 2023 18:03:47 +0100 Subject: [PATCH] storage: Fix dbindex heartbeat --- storage/paths/db_index.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/paths/db_index.go b/storage/paths/db_index.go index e6bf3e5da..018ea84fd 100644 --- a/storage/paths/db_index.go +++ b/storage/paths/db_index.go @@ -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) }