From 161ce3b3c309f18935e47a74911d7fb6c22d0800 Mon Sep 17 00:00:00 2001 From: Christian Schwarz Date: Thu, 5 Oct 2017 21:22:17 +0200 Subject: [PATCH] autosnap: fix log level when fs filter does not match any fs --- cmd/autosnap.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/autosnap.go b/cmd/autosnap.go index 0c3d1d9..449a007 100644 --- a/cmd/autosnap.go +++ b/cmd/autosnap.go @@ -34,7 +34,7 @@ func (a *IntervalAutosnap) Run(ctx context.Context, didSnaps chan struct{}) { return } if len(ds) == 0 { - a.log.WithError(err).Error("no datasets matching dataset filter") + a.log.Warn("no filesystem matching filesystem filter") return }