change return in handler test to explicit nil (#12884)

This commit is contained in:
Chris Capurso 2021-10-20 13:41:51 -04:00 committed by GitHub
parent 4834bb854c
commit 6e95c59762
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)