Skip to content

Commit e38881d

Browse files
authored
Remove redundant code comments (#5596) (#5602)
(cherry picked from commit cca1aa9) # Conflicts: # specification/indices/remove_block/IndicesRemoveBlockRequest.ts
1 parent e225b84 commit e38881d

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

specification/indices/add_block/IndicesAddBlockRequest.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,33 +58,33 @@ export interface Request extends RequestBase {
5858
* For example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.
5959
* @server_default true
6060
*/
61-
allow_no_indices?: boolean // default: true
61+
allow_no_indices?: boolean
6262
/**
6363
* The type of index that wildcard patterns can match.
6464
* If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.
6565
* It supports comma-separated values, such as `open,hidden`.
6666
* @server_default open
6767
*/
68-
expand_wildcards?: ExpandWildcards // default: open
68+
expand_wildcards?: ExpandWildcards
6969
/**
7070
* If `false`, the request returns an error if it targets a missing or closed index.
7171
* @server_default false
7272
*/
73-
ignore_unavailable?: boolean // default: false
73+
ignore_unavailable?: boolean
7474
/**
7575
* The period to wait for the master node.
7676
* If the master node is not available before the timeout expires, the request fails and returns an error.
7777
* It can also be set to `-1` to indicate that the request should never timeout.
7878
* @server_default 30s
7979
*/
80-
master_timeout?: Duration // default: 30s
80+
master_timeout?: Duration
8181
/**
8282
* The period to wait for a response from all relevant nodes in the cluster after updating the cluster metadata.
8383
* If no response is received before the timeout expires, the cluster metadata update still applies but the response will indicate that it was not completely acknowledged.
8484
* It can also be set to `-1` to indicate that the request should never timeout.
8585
* @server_default 30s
8686
*/
87-
timeout?: Duration // default: 30s
87+
timeout?: Duration
8888
}
8989
}
9090

specification/ml/_types/Datafeed.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ export class DelayedDataCheckConfig {
125125
* It defaults to null, which causes an appropriate `check_window` to be calculated when the real-time datafeed runs.
126126
* In particular, the default `check_window` span calculation is based on the maximum of `2h` or `8 * bucket_span`.
127127
*/
128-
check_window?: Duration // default: null
128+
check_window?: Duration
129129
/**
130130
* Specifies whether the datafeed periodically checks for delayed data.
131131
*/

specification/snapshot/status/SnapshotStatusRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export interface Request extends RequestBase {
7878
* If `true`, the request ignores snapshots that are unavailable, such as those that are corrupted or temporarily cannot be returned.
7979
* @server_default false
8080
*/
81-
ignore_unavailable?: boolean // default: false
81+
ignore_unavailable?: boolean
8282
/**
8383
* The period to wait for the master node.
8484
* If the master node is not available before the timeout expires, the request fails and returns an error.

0 commit comments

Comments
 (0)