lib/elasticsearch/api/actions/migration/post_feature_upgrade.rb in elasticsearch-api-8.12.2 vs lib/elasticsearch/api/actions/migration/post_feature_upgrade.rb in elasticsearch-api-8.13.0

- old
+ new

@@ -24,21 +24,21 @@ module Actions # Begin upgrades for system features # # @option arguments [Hash] :headers Custom HTTP headers # - # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.12/migration-api-feature-upgrade.html + # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.13/migration-api-feature-upgrade.html # def post_feature_upgrade(arguments = {}) - request_opts = { endpoint: arguments[:endpoint] || "migration.post_feature_upgrade" } + request_opts = { endpoint: arguments[:endpoint] || 'migration.post_feature_upgrade' } arguments = arguments.clone headers = arguments.delete(:headers) || {} body = nil method = Elasticsearch::API::HTTP_POST - path = "_migration/system_features" + path = '_migration/system_features' params = {} Elasticsearch::API::Response.new( perform_request(method, path, params, body, headers, request_opts) )