Skip to content

Commit 7300f39

Browse files
committed
[DOCS] Updates some references to 'master' branch to 'main'
1 parent 489f68a commit 7300f39

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

docs/advanced-config.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ automatically captures client requests if you are using the agent on your code.
132132
If you're using `elastic-apm` v3.8.0 or up, you can set
133133
`capture_elasticsearch_queries` to `true` in `config/elastic_apm.yml` to also
134134
capture the body from requests in {es}. Refer to
135-
https://github.com/elastic/elasticsearch-ruby/tree/master/docs/examples/apm[this example].
135+
https://github.com/elastic/elasticsearch-ruby/tree/main/docs/examples/apm[this example].
136136

137137

138138
[discrete]
@@ -363,7 +363,7 @@ implementing the required contract, and passing it to the client as the
363363
==== Exception Handling
364364

365365
The library defines a
366-
https://github.com/elastic/elasticsearch-ruby/blob/master/elasticsearch-transport/lib/elasticsearch/transport/transport/errors.rb[number of exception classes]
366+
https://github.com/elastic/elasticsearch-ruby/blob/main/elasticsearch-transport/lib/elasticsearch/transport/transport/errors.rb[number of exception classes]
367367
for various client and server errors, as well as unsuccessful HTTP responses,
368368
making it possible to rescue specific exceptions with desired granularity.
369369

docs/examples/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
In this directory you can find:
44

5-
- `apm`: A practical example of integrating elasticsearch-ruby and [Elastic APM](https://www.elastic.co/apm) with the [Ruby APM Agent](https://github.com/elastic/apm-agent-ruby). See the [the README](https://github.com/elastic/elasticsearch-ruby/tree/master/docs/examples/apm/README.md#observability-example).
5+
- `apm`: A practical example of integrating elasticsearch-ruby and [Elastic APM](https://www.elastic.co/apm) with the [Ruby APM Agent](https://github.com/elastic/apm-agent-ruby). See the [the README](https://github.com/elastic/elasticsearch-ruby/tree/main/docs/examples/apm/README.md#observability-example).
66
- `guide`: Contains the generated Ruby code examples for the [Elasticsearch Reference](https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html).
77
- `percolator`: An example using a percolator in Elasticsearch version 5.x and higher.
88
- `rabbitmq`: Example of indexing the payload of a RabbitMQ queue.

docs/overview.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ More documentation is hosted in https://github.com/elastic/elasticsearch-ruby[Gi
2626

2727
The `elasticsearch` gem combines two separate Rubygems:
2828

29-
* https://github.com/elastic/elasticsearch-ruby/tree/master/elasticsearch-transport[`elasticsearch-transport`]
29+
* https://github.com/elastic/elasticsearch-ruby/tree/main/elasticsearch-transport[`elasticsearch-transport`]
3030
provides an HTTP Ruby client for connecting to the {es} cluster,
3131

32-
* https://github.com/elastic/elasticsearch-ruby/tree/master/elasticsearch-api[`elasticsearch-api`]
32+
* https://github.com/elastic/elasticsearch-ruby/tree/main/elasticsearch-api[`elasticsearch-api`]
3333
provides a Ruby API for the {es} RESTful API.
3434

3535
Please consult their respective documentation for configuration options and

elasticsearch-api/utils/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## The Generator
44

5-
This directory hosts The Generator, a tool that generates the classes for each API endpoint from the [Elasticsearch REST API JSON Specification](https://github.com/elastic/elasticsearch/tree/master/rest-api-spec).
5+
This directory hosts The Generator, a tool that generates the classes for each API endpoint from the [Elasticsearch REST API JSON Specification](https://github.com/elastic/elasticsearch/tree/main/rest-api-spec).
66

77
### Generate
88

0 commit comments

Comments
 (0)