Skip to content

Commit 33f1884

Browse files
authored
missing field and wrong value (#4193)
1 parent 875e1ec commit 33f1884

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

specification/cluster/health/ClusterHealthResponse.ts

Lines changed: 4 additions & 2 deletions
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

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

0 commit comments

Comments
 (0)