From d10e45648be7ecb5ad93faeffd4026fc59887344 Mon Sep 17 00:00:00 2001 From: Maxton Huff Date: Wed, 6 Jan 2021 15:58:01 -0600 Subject: [PATCH] change f.path to f.path() --- snapshotqueue.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snapshotqueue.go b/snapshotqueue.go index 4fc3e4f79..e4fa67db5 100644 --- a/snapshotqueue.go +++ b/snapshotqueue.go @@ -445,7 +445,7 @@ func (s *prioritySnapshotQueueScanner) ProcessFragment(f *fragment) error { s.hits++ select { case s.queue <- snapshotRequest{frag: f, when: time.Now()}: - s.sq.logger.Debugf("found fragment needing snapshot: %s\n", f.path) + s.sq.logger.Debugf("found fragment needing snapshot: %s\n", f.path()) case <-s.ctx.Done(): return io.EOF }