change return in handler test to explicit nil (#12884)
This commit is contained in:
parent
4834bb854c
commit
6e95c59762
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue