From 352ac8fc5bd47f175dff6fad7d9deee4c7646fda Mon Sep 17 00:00:00 2001 From: Ryan McKinley Date: Wed, 31 Dec 2025 11:57:21 +0300 Subject: [PATCH] lint --- pkg/tests/apis/helper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/tests/apis/helper.go b/pkg/tests/apis/helper.go index ccb8fc1145e..807459ee0bd 100644 --- a/pkg/tests/apis/helper.go +++ b/pkg/tests/apis/helper.go @@ -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()) }