From 2c994e879ca81c2d9ab1d9b5794dc0402ddbfb12 Mon Sep 17 00:00:00 2001 From: Christian Schwarz Date: Sat, 13 Oct 2018 17:17:34 +0200 Subject: [PATCH] filters: fix broken error message reported by go vet on go 1.11 --- daemon/filters/fsmapfilter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/filters/fsmapfilter.go b/daemon/filters/fsmapfilter.go index 7fc6bbd..b6a785d 100644 --- a/daemon/filters/fsmapfilter.go +++ b/daemon/filters/fsmapfilter.go @@ -175,7 +175,7 @@ func (m DatasetMapFilter) InvertedFilter() (inv *DatasetMapFilter, err error) { for i, e := range m.entries { inv.entries[i].path, err = zfs.NewDatasetPath(e.mapping) if err != nil { - err = errors.Wrapf(err, "mapping cannot be inverted: '%s' is not a dataset path: %s", e.mapping) + err = errors.Wrapf(err, "mapping cannot be inverted: '%s' is not a dataset path", e.mapping) return } inv.entries[i].mapping = MapFilterResultOk