lib/elasticsearch/xpack/api/actions/transform/upgrade_transforms.rb in elasticsearch-xpack-7.16.0 vs lib/elasticsearch/xpack/api/actions/transform/upgrade_transforms.rb in elasticsearch-xpack-7.16.1

- old
+ new

@@ -21,10 +21,11 @@ module Transform module Actions # Upgrades all transforms. # # @option arguments [Boolean] :dry_run Whether to only check for updates but don't execute + # @option arguments [Time] :timeout Controls the time to wait for the upgrade # @option arguments [Hash] :headers Custom HTTP headers # # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.16/upgrade-transforms.html # def upgrade_transforms(arguments = {}) @@ -42,10 +43,11 @@ # Register this action with its valid params when the module is loaded. # # @since 6.2.0 ParamsRegistry.register(:upgrade_transforms, [ - :dry_run + :dry_run, + :timeout ].freeze) end end end end