File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -276,7 +276,7 @@ func (col *Collector) DryRun(ctx context.Context) error {
276276 return err
277277 }
278278
279- return service .ValidateGraph (ctx , service.Settings {
279+ return service .Validate (ctx , service.Settings {
280280 BuildInfo : col .set .BuildInfo ,
281281 ReceiversConfigs : cfg .Receivers ,
282282 ReceiversFactories : factories .Receivers ,
Original file line number Diff line number Diff line change @@ -538,8 +538,8 @@ func ptr[T any](v T) *T {
538538 return & v
539539}
540540
541- // ValidateGraph verifies the graph by calling the internal graph.Build.
542- func ValidateGraph (ctx context.Context , set Settings , cfg Config ) error {
541+ // Validate verifies the graph by calling the internal graph.Build.
542+ func Validate (ctx context.Context , set Settings , cfg Config ) error {
543543 tel := component.TelemetrySettings {
544544 Logger : zap .NewNop (),
545545 TracerProvider : nooptrace .NewTracerProvider (),
Original file line number Diff line number Diff line change @@ -897,7 +897,7 @@ func TestValidateGraph(t *testing.T) {
897897 Pipelines : tc .pipelinesCfg ,
898898 }
899899
900- err := ValidateGraph (context .Background (), settings , cfg )
900+ err := Validate (context .Background (), settings , cfg )
901901 if tc .expectedError == "" {
902902 require .NoError (t , err )
903903 } else {
You can’t perform that action at this time.
0 commit comments