diff --git a/pkg/operator/resources_pod_template_test.go b/pkg/operator/resources_pod_template_test.go index 20566f578bb3..fa189a203385 100644 --- a/pkg/operator/resources_pod_template_test.go +++ b/pkg/operator/resources_pod_template_test.go @@ -156,7 +156,7 @@ func Test_generatePodTemplate(t *testing.T) { assert.Nil(t, tmpl.Spec.RuntimeClassName) }) - t.Run("AGENT_OPERATOR env ser", func(t *testing.T) { + t.Run("AGENT_DEPLOY_MODE env ser", func(t *testing.T) { deploy := gragent.Deployment{ Agent: &gragent.GrafanaAgent{ ObjectMeta: v1.ObjectMeta{Name: name, Namespace: name},