mirror of https://github.com/hashicorp/boundary
This commit modifies the credential renewal job to handle a case where the `renewLease` method can return `nil, nil`. Currently, a panic is caused by usage of the `renewedCred` variable in this scenario. This commit adds a nil check and returns an error if the `renewedCred` variable is returned as `nil`. Signed-off-by: David Bond <davidsbond93@gmail.com>pull/5116/head
parent
b120a03f43
commit
036d7adb61
Loading…
Reference in new issue