This commit is contained in:
Ryan McKinley
2025-12-31 11:57:21 +03:00
parent 00917091d7
commit 352ac8fc5b
+1 -1
View File
@@ -905,7 +905,7 @@ func VerifyOpenAPISnapshots(t *testing.T, dir string, gv schema.GroupVersion, h
}
if write {
e2 := os.WriteFile(fpath, []byte(pretty), 0o644)
e2 := os.WriteFile(fpath, pretty, 0o644)
if e2 != nil {
t.Errorf("error writing file: %s", e2.Error())
}