Skip to content

Commit 9b903d4

Browse files
missing field and wrong value (#4193) (#4209)
(cherry picked from commit 33f1884) Co-authored-by: Laura Trotta <[email protected]>
1 parent a45f561 commit 9b903d4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

specification/cluster/health/ClusterHealthResponse.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
import { Dictionary } from '@spec_utils/Dictionary'
2121
import { HealthStatus, IndexName, Name } from '@_types/common'
22-
import { integer, Percentage } from '@_types/Numeric'
22+
import { double, integer } from '@_types/Numeric'
2323
import { Duration, DurationValue, UnitMillis } from '@_types/Time'
2424
import { IndexHealthStats } from './types'
2525

@@ -41,8 +41,10 @@ export class HealthResponseBody {
4141
active_primary_shards: integer
4242
/** The total number of active primary and replica shards. */
4343
active_shards: integer
44+
/** The ratio of active shards in the cluster expressed as a string formatted percentage. */
45+
active_shards_percent?: string
4446
/** The ratio of active shards in the cluster expressed as a percentage. */
45-
active_shards_percent_as_number: Percentage
47+
active_shards_percent_as_number: double
4648
/** The name of the cluster. */
4749
cluster_name: Name
4850
/** The number of shards whose allocation has been delayed by the timeout settings. */

0 commit comments

Comments
 (0)