Skip to content

Commit 696bdb5

Browse files
authored
Fix type of if_version in ingest.put_pipeline (#5694)
1 parent 37bdbee commit 696bdb5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

specification/ingest/put_pipeline/PutPipelineRequest.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
import { RequestBase } from '@_types/Base'
2121
import { Id, Metadata, VersionNumber } from '@_types/common'
22+
import { integer } from '@_types/Numeric'
2223
import { Duration } from '@_types/Time'
2324
import { FieldAccessPattern } from '@ingest/_types/Pipeline'
2425
import { ProcessorContainer } from '@ingest/_types/Processors'
@@ -59,7 +60,7 @@ export interface Request extends RequestBase {
5960
/**
6061
* Required version for optimistic concurrency control for pipeline updates
6162
*/
62-
if_version?: VersionNumber
63+
if_version?: integer
6364
}
6465
body: {
6566
/**

0 commit comments

Comments
 (0)