| commit | 5e460a92353ec619f4f12fffbe3281d40c85cf61 | [log] [tgz] |
|---|---|---|
| author | Tim Windelschmidt <tim@monogon.tech> | Thu Apr 11 01:33:09 2024 +0200 |
| committer | Tim Windelschmidt <tim@monogon.tech> | Mon Apr 15 21:19:50 2024 +0000 |
| tree | 193a72608c05ad45f3a60a4ac84a8f5d731d7f73 | |
| parent | 438ae2e52cb0aa8dea021419d921c687330e7d3b [diff] [blame] |
treewide: remove unnecessary types and conversions Change-Id: Ifcaa9ceeec243b3646c9b6e0a6fad7ef2db8fd90 Reviewed-on: https://review.monogon.dev/c/monogon/+/2954 Reviewed-by: Lorenz Brun <lorenz@monogon.tech> Tested-by: Jenkins CI
diff --git a/metropolis/pkg/fsquota/fsquota_test.go b/metropolis/pkg/fsquota/fsquota_test.go index c842b63..243dbf6 100644 --- a/metropolis/pkg/fsquota/fsquota_test.go +++ b/metropolis/pkg/fsquota/fsquota_test.go
@@ -90,7 +90,7 @@ testdata := make([]byte, 1024) var bytesWritten int for { - n, err := testfile.Write([]byte(testdata)) + n, err := testfile.Write(testdata) if err != nil { if pathErr, ok := err.(*os.PathError); ok { if pathErr.Err == syscall.ENOSPC {