mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 19:17:58 +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()
|
||||
|
||||
if err == nil {
|
||||
return resp, err
|
||||
return resp, nil
|
||||
}
|
||||
|
||||
responseError := err.(*api.ResponseError)
|
||||
|
||||
Reference in New Issue
Block a user