From 11207fc589e4e65da68a25802099189359040470 Mon Sep 17 00:00:00 2001 From: Samir Patel <48686912+54mir@users.noreply.github.com> Date: Mon, 14 Jun 2021 11:12:12 -0500 Subject: [PATCH] Update api.go Co-authored-by: Alan Bernstein --- api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.go b/api.go index c9766e27c..84dd64943 100644 --- a/api.go +++ b/api.go @@ -960,7 +960,7 @@ func (api *API) Usage(ctx context.Context, remote bool) (map[string]NodeUsage, e if api.usageCache.lastCalcDuration < (time.Second * 5) { err := api.ResetUsageCache() if err != nil { - api.server.logger.Infof("could not reset cache: %s", err) + api.server.logger.Infof("could not reset usageCache: %s", err) } }