Skip to content

Commit e93bc78

Browse files
committed
[API] Adds if_version to ingest.put_pipeline
1 parent d373912 commit e93bc78

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

elasticsearch-api/lib/elasticsearch/api/actions/ingest/put_pipeline.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ module Actions
2222
# Creates or updates a pipeline.
2323
#
2424
# @option arguments [String] :id Pipeline ID
25+
# @option arguments [Integer] :if_version Required version for optimistic concurrency control for pipeline updates
2526
# @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
2627
# @option arguments [Time] :timeout Explicit operation timeout
2728
# @option arguments [Hash] :headers Custom HTTP headers
@@ -51,6 +52,7 @@ def put_pipeline(arguments = {})
5152
#
5253
# @since 6.2.0
5354
ParamsRegistry.register(:put_pipeline, [
55+
:if_version,
5456
:master_timeout,
5557
:timeout
5658
].freeze)

0 commit comments

Comments
 (0)