Skip to content

Commit

Permalink
Fix definition of ManagedBy (#2364)
Browse files Browse the repository at this point in the history
  • Loading branch information
flobernd authored Dec 8, 2023
1 parent 4f9a95d commit db835dd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
5 changes: 0 additions & 5 deletions specification/_types/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,6 @@ export type Metrics = string | string[]

export type ClusterAlias = string

export type ManagedBy =
| 'Index Lifecycle Management'
| 'Data stream lifecycle'
| 'Unmanaged'

export type Name = string
export type Names = Name | Name[]

Expand Down
7 changes: 6 additions & 1 deletion specification/indices/_types/DataStream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,19 @@ import {
Field,
HealthStatus,
IndexName,
ManagedBy,
Metadata,
Name,
Uuid
} from '@_types/common'
import { integer } from '@_types/Numeric'
import { DataStreamLifecycleWithRollover } from '@indices/_types/DataStreamLifecycle'

enum ManagedBy {
'Index Lifecycle Management',
'Data stream lifecycle',
'Unmanaged'
}

export class DataStream {
/**
* Custom metadata for the stream, copied from the `_meta` object of the stream’s matching index template.
Expand Down

0 comments on commit db835dd

Please sign in to comment.