Skip to content

Commit

Permalink
Remove errorsource.PluginError
Browse files Browse the repository at this point in the history
  • Loading branch information
idastambuk committed Jan 3, 2025
1 parent d091a44 commit 8394950
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/opensearch/opensearch.go
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,6 @@ func handleServiceMapPrefetch(ctx context.Context, osClient client.Client, req *
func wrapServiceMapPrefetchError(refId string, err error) *backend.QueryDataResponse {
if err != nil {
response := backend.NewQueryDataResponse()
err = errorsource.PluginError(err, false) // keeps downstream source if present
err = fmt.Errorf(`Error fetching service map info: %w`, err)
return errorsource.AddErrorToResponse(refId, response, err)
}
Expand Down

0 comments on commit 8394950

Please sign in to comment.