model: use correct "replication_performance_mode" JSON field
All checks were successful
continuous-integration/drone/push Build is passing

The official docs incorrectly state "replication_perf_mode" which was
renamed to "replication_performance_mode" way back in Vault 0.9. We now
use the correct field name that is emitted by the API.
This commit is contained in:
2021-12-27 18:54:49 +01:00
parent dbb21f85bf
commit dc4b62496a
8 changed files with 21 additions and 12 deletions

View File

@ -48,7 +48,7 @@ public final class HealthResponse implements VaultResponse {
@JsonProperty("initialized")
private Boolean initialized;
@JsonProperty("replication_perf_mode")
@JsonProperty("replication_performance_mode")
private String replicationPerfMode;
@JsonProperty("replication_dr_mode")