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) }