From 3842118babbefb471ba7b4bc37b846ade881d42a Mon Sep 17 00:00:00 2001 From: Jeff Wendling Date: Fri, 12 Jun 2020 10:53:15 -0600 Subject: [PATCH] storagenode/heldamount: use correct field for repair usage Change-Id: I1e0d0bd4c416a21d6900fb723185599f58391d8a --- storagenode/heldamount/service.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/storagenode/heldamount/service.go b/storagenode/heldamount/service.go index 1dc17caff..94af41f13 100644 --- a/storagenode/heldamount/service.go +++ b/storagenode/heldamount/service.go @@ -103,8 +103,8 @@ func (service *Service) GetPaystubStats(ctx context.Context, satelliteID storj.N UsageAtRest: resp.UsageAtRest, UsageGet: resp.UsageGet, UsagePut: resp.UsagePut, - UsageGetRepair: resp.CompGetRepair, - UsagePutRepair: resp.CompPutRepair, + UsageGetRepair: resp.UsageGetRepair, + UsagePutRepair: resp.UsagePutRepair, UsageGetAudit: resp.UsageGetAudit, CompAtRest: resp.CompAtRest, CompGet: resp.CompGet, @@ -146,8 +146,8 @@ func (service *Service) GetAllPaystubs(ctx context.Context, satelliteID storj.No UsageAtRest: resp.Paystub[i].UsageAtRest, UsageGet: resp.Paystub[i].UsageGet, UsagePut: resp.Paystub[i].UsagePut, - UsageGetRepair: resp.Paystub[i].CompGetRepair, - UsagePutRepair: resp.Paystub[i].CompPutRepair, + UsageGetRepair: resp.Paystub[i].UsageGetRepair, + UsagePutRepair: resp.Paystub[i].UsagePutRepair, UsageGetAudit: resp.Paystub[i].UsageGetAudit, CompAtRest: resp.Paystub[i].CompAtRest, CompGet: resp.Paystub[i].CompGet,