diff --git a/service/config_test.go b/service/config_test.go index 6ac9d6e625a..e632c5739f0 100644 --- a/service/config_test.go +++ b/service/config_test.go @@ -59,7 +59,7 @@ func TestConfigValidate(t *testing.T) { } return cfg }, - expected: fmt.Errorf(`service::pipelines config validation failed: %w`, errors.New(`pipeline "wrongtype": unknown datatype "wrongtype"`)), + expected: fmt.Errorf(`service::pipelines config validation failed: %w`, errors.New(`pipeline "wrongtype": is not a DataType "wrongtype"`)), }, { name: "invalid-telemetry-metric-config",