mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-03 03:58:01 +00:00
change return in handler test to explicit nil (#12884)
This commit is contained in:
@@ -903,7 +903,7 @@ func kvRequestWithRetry(t *testing.T, req func() (*api.Secret, error)) (*api.Sec
|
|||||||
resp, err = req()
|
resp, err = req()
|
||||||
|
|
||||||
if err == nil {
|
if err == nil {
|
||||||
return resp, err
|
return resp, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
responseError := err.(*api.ResponseError)
|
responseError := err.(*api.ResponseError)
|
||||||
|
|||||||
Reference in New Issue
Block a user