Skip to content

Commit f830251

Browse files
committed
Fix constants
1 parent bc43cfc commit f830251

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testing/integration/ess/beat_receivers_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -722,13 +722,13 @@ agent.monitoring.enabled: false
722722
require.NoError(t,
723723
template.Must(template.New("config").Parse(configTemplate)).Execute(&configBuffer,
724724
configOptions{
725-
RuntimeExperimental: component.ProcessRuntimeManager.String(),
725+
RuntimeExperimental: string(component.ProcessRuntimeManager),
726726
}))
727727
processConfig := configBuffer.Bytes()
728728
require.NoError(t,
729729
template.Must(template.New("config").Parse(configTemplate)).Execute(&configBuffer,
730730
configOptions{
731-
RuntimeExperimental: component.OtelRuntimeManager.String(),
731+
RuntimeExperimental: string(component.OtelRuntimeManager),
732732
}))
733733
receiverConfig := configBuffer.Bytes()
734734
// this is the context for the whole test, with a global timeout defined

0 commit comments

Comments
 (0)