From be7176bee76152b33582a02202cf54d06efe1be5 Mon Sep 17 00:00:00 2001 From: Christian Schwarz Date: Fri, 29 Dec 2017 21:25:42 +0100 Subject: [PATCH] Puller: fix wrong filesystem log field usage was introduced in 9465b593 --- cmd/replication.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/replication.go b/cmd/replication.go index cd9ef9a..094a24a 100644 --- a/cmd/replication.go +++ b/cmd/replication.go @@ -83,8 +83,8 @@ func (p *Puller) replFilesystem(m remoteLocalMapping, localFilesystemState map[s remote := p.Remote log := p.task.Log(). - WithField(logMapToField, m.Remote.ToString()). - WithField(logMapFromField, m.Local.ToString()) + WithField(logMapFromField, m.Remote.ToString()). + WithField(logMapToField, m.Local.ToString()) log.Debug("examining local filesystem state") localState, localExists := localFilesystemState[m.Local.ToString()]