From e0dd1044f2f0aa0780ccf7d2466f6b0b52d17259 Mon Sep 17 00:00:00 2001 From: Nikola Jokic Date: Tue, 30 Sep 2025 17:42:11 +0200 Subject: [PATCH] Apply suggestion from @Copilot Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- charts/gha-runner-scale-set/tests/template_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/gha-runner-scale-set/tests/template_test.go b/charts/gha-runner-scale-set/tests/template_test.go index 8429cae2..7a657475 100644 --- a/charts/gha-runner-scale-set/tests/template_test.go +++ b/charts/gha-runner-scale-set/tests/template_test.go @@ -307,7 +307,7 @@ func TestTemplateRenderedSetServiceAccountToKubeNoVolumeMode(t *testing.T) { assert.Equal(t, "actions.github.com/cleanup-protection", role.Finalizers[0]) - assert.Len(t, role.Rules, 4, "kube mode role should have 5 rules") + assert.Len(t, role.Rules, 4, "kube mode role should have 4 rules") assert.Equal(t, "pods", role.Rules[0].Resources[0]) assert.Equal(t, "pods/exec", role.Rules[1].Resources[0]) assert.Equal(t, "pods/log", role.Rules[2].Resources[0])