Skip to content

Commit

Permalink
Ensure VaultRequest.builder() copies all properties
Browse files Browse the repository at this point in the history
  • Loading branch information
kdubb authored and vsevel committed Mar 27, 2024
1 parent d1adf67 commit 0d4ef24
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,8 @@ public Builder<T> builder() {
var builder = new Builder<T>(operation, method);
builder.baseUrl = baseUrl;
builder.apiVersion = apiVersion;
builder.operation = operation;
builder.method = method;
builder.path = path;
builder.token = token;
builder.namespace = namespace;
Expand All @@ -376,6 +378,7 @@ public Builder<T> builder() {
builder.headers = headers;
builder.body = body;
builder.expectedStatusCodes = expectedStatusCodes;
builder.timeout = timeout;
builder.resultExtractor = resultExtractor;
builder.logConfidentialityLevel = logConfidentialityLevel;
return builder;
Expand Down

0 comments on commit 0d4ef24

Please sign in to comment.