-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Using `handleRead` as the `Renew` method for KV v1 is incorrect and would fail with the error: http: panic serving 127.0.0.1:59579: field path not in the schema in the Vault server without returning a response. This fixes by returning an empty response which signals properly that the secret cannot be renewed. Also remove `GeneratesLeases()` which was never used and fix a typo in an error message.
- Loading branch information
1 parent
36251b0
commit 39f481f
Showing
2 changed files
with
26 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters