linter: fix nolintlint warnings (#6257)

This commit is contained in:
Callum Waters
2021-03-19 10:59:14 +01:00
committed by GitHub
parent dd84867e2b
commit 6f6083dae3
6 changed files with 10 additions and 7 deletions
+1 -1
View File
@@ -653,7 +653,7 @@ func newRemoteApp(
}
func checksumIt(data []byte) string {
h := sha256.New()
h.Write(data) //nolint: errcheck // ignore errcheck
h.Write(data)
return fmt.Sprintf("%x", h.Sum(nil))
}