Skip to content

Commit

Permalink
Add codegen_name annotations to ManagedBy (#2368)
Browse files Browse the repository at this point in the history
  • Loading branch information
swallez authored Dec 12, 2023
1 parent de45840 commit 55a7114
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/validate-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
if: github.repository_owner == 'elastic' # this action will fail if executed from a fork
runs-on: ubuntu-latest
env:
STACK_VERSION: 8.10-SNAPSHOT
STACK_VERSION: 8.13-SNAPSHOT

steps:
- uses: actions/checkout@v2
Expand Down
13 changes: 8 additions & 5 deletions output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions specification/indices/_types/DataStream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,11 @@ import { integer } from '@_types/Numeric'
import { DataStreamLifecycleWithRollover } from '@indices/_types/DataStreamLifecycle'

enum ManagedBy {
/** @codegen_name ilm */
'Index Lifecycle Management',
/** @codegen_name datastream */
'Data stream lifecycle',
/** @codegen_name unmanaged */
'Unmanaged'
}

Expand Down

0 comments on commit 55a7114

Please sign in to comment.