mirror of
https://github.com/grafana/grafana.git
synced 2025-07-31 07:52:21 +08:00
Update ErrRequestErrorBase
from [plugin.downstreamError]
to [plugin.requestFailureError]
(#100965)
* Update ErrRequestErrorBase to make it more clear for developers * Trigger build * requestError -> requestFailureError * Fix test * Update pkg/plugins/backendplugin/grpcplugin/client_v2.go Co-authored-by: Will Browne <wbrowne@users.noreply.github.com> --------- Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
This commit is contained in:
@ -38,7 +38,7 @@ func TestQueryData(t *testing.T) {
|
||||
},
|
||||
{
|
||||
err: errors.New("surprise surprise"),
|
||||
expectedError: plugins.ErrPluginDownstreamErrorBase,
|
||||
expectedError: plugins.ErrPluginRequestFailureErrorBase,
|
||||
},
|
||||
{
|
||||
err: context.Canceled,
|
||||
|
Reference in New Issue
Block a user