From 044ba042aa1cb232583e5272762bb7d893024714 Mon Sep 17 00:00:00 2001 From: Michael Quigley Date: Tue, 18 Oct 2022 12:01:41 -0400 Subject: [PATCH] minor loop tool patches --- cmd/zrok/loop.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/zrok/loop.go b/cmd/zrok/loop.go index 384d1ebb..9f5b6a3d 100644 --- a/cmd/zrok/loop.go +++ b/cmd/zrok/loop.go @@ -76,6 +76,7 @@ func (r *loopCmd) run(_ *cobra.Command, _ []string) { deltaSeconds := l.stopTime.Sub(l.startTime).Seconds() xfer := int64(float64(l.bytes) / deltaSeconds) totalXfer += xfer + totalMismatches += l.mismatches xferSec := util.BytesToSize(xfer) logrus.Infof("looper #%d: %d mismatches, %s/sec", l.id, l.mismatches, xferSec) } @@ -154,7 +155,7 @@ func (l *looper) startup() { if err != nil { panic(err) } - l.zif, err = zrokdir.ZitiIdentityFile("environment") + l.zif, err = zrokdir.ZitiIdentityFile("backend") if err != nil { panic(err) }