Closed SEANDOUGHTY closed 9 months ago
The RekeyAttemptReadProgressResponse should be getting unmarshlled into a bool.
RekeyAttemptReadProgressResponse
It is attempting to unmarshal into a string and failing.
string
Please include the version of Vault binary and the version of vault-client-go you're using.
vault-client-go
Please provide detailed steps for reproducing the issue.
Run this code:
res, err := r.client.System.RekeyAttemptReadProgress(ctx)
And you will get the following error:
json: cannot unmarshal bool into Go struct field RekeyAttemptReadProgressResponse.started of type string
Additional information including exception details, stack trace, etc.
Expected Behavior
The
RekeyAttemptReadProgressResponse
should be getting unmarshlled into a bool.Current Behavior
It is attempting to unmarshal into a
string
and failing.Failure Information
Please include the version of Vault binary and the version of
vault-client-go
you're using.Steps to Reproduce
Please provide detailed steps for reproducing the issue.
Run this code:
And you will get the following error:
Additional Information
Additional information including exception details, stack trace, etc.