diff options
author | Kegan Dougal <kegan@matrix.org> | 2021-07-08 10:17:13 +0100 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2021-07-08 10:17:21 +0100 |
commit | 3fb5ee7e1cc9545b492abefa62980f96ee58364e (patch) | |
tree | 943bdabc60327678d4a0de3aac2f24bd26090d97 | |
parent | 717d16345cf9b93ef1652c34a70e6109f8f9c97e (diff) |
linting
-rw-r--r-- | cmd/dendrite-upgrade-tests/tar.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |