From 3fb5ee7e1cc9545b492abefa62980f96ee58364e Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Thu, 8 Jul 2021 10:17:13 +0100 Subject: [PATCH] linting --- cmd/dendrite-upgrade-tests/tar.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/dendrite-upgrade-tests/tar.go b/cmd/dendrite-upgrade-tests/tar.go index 8c6402a8..fd45424d 100644 --- a/cmd/dendrite-upgrade-tests/tar.go +++ b/cmd/dendrite-upgrade-tests/tar.go @@ -37,7 +37,7 @@ func compress(src string, buf io.Writer) error { if err != nil { return err } - if _, err := io.Copy(tw, data); err != nil { + if _, err = io.Copy(tw, data); err != nil { return err } if err = data.Close(); err != nil {