From eefd9138de35cceccedf3d954588c93c95638f60 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Wed, 17 Apr 2024 09:40:15 +0100 Subject: [PATCH] Fix equation order for Cif Update duration --- cif/update.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cif/update.go b/cif/update.go index 33e801f..8600c2f 100644 --- a/cif/update.go +++ b/cif/update.go @@ -117,7 +117,7 @@ func runCifUpdateDownload(cfg *helpers.Configuration, metadata *dbAccess.CifMeta } endTime := time.Now() - duration := startTime.Sub(endTime) + duration := endTime.Sub(startTime) log.Info("CIF Update process ended", zap.Duration("duration", duration)) return nil }