Skip to content

Conversation

@shaneog
Copy link
Contributor

@shaneog shaneog commented Mar 1, 2018

The docs state that _gce_ is recommended but the code sample states
that _gce:hostname_ is recommended. This aligns the code sample with
the documentation.

Documentation: https://www.elastic.co/guide/en/elasticsearch/plugins/6.2/discovery-gce-network-host.html
Introduced in: #13612

I also replaced the use of discovery.type in the code samples since this was removed in #25080.

shaneog added 2 commits March 1, 2018 17:54
The docs state that `_gce_` is recommended but the code sample states
that `_gce:hostname_` is recommended. This aligns the code sample with
the documentation.

Also reordered the code sample to align with the documentation.
discovery.type was removed in #25080
@elasticmachine
Copy link
Collaborator

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

1 similar comment
@elasticmachine
Copy link
Collaborator

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

@shaneog shaneog changed the title [discovery-gce] Align code example and documentation [discovery-gce] Align code examples and documentation Mar 1, 2018
@rjernst rjernst added :Distributed Coordination/Discovery-Plugins Anything related to our integration plugins with EC2, GCP and Azure >docs General docs changes labels Mar 3, 2018
@rjernst
Copy link
Member

rjernst commented Mar 3, 2018

/cc @elastic/es-distributed

@bleskes
Copy link
Contributor

bleskes commented Mar 8, 2018

@tlrx can you take a look?

@tlrx tlrx added the v7.0.0 label Mar 12, 2018
@tlrx tlrx merged commit 7dcd48a into elastic:master Mar 12, 2018
@tlrx
Copy link
Member

tlrx commented Mar 12, 2018

Thanks @shaneog !

tlrx pushed a commit that referenced this pull request Mar 12, 2018
The docs state that `_gce_` is recommended but the code sample states
that `_gce:hostname_` is recommended. This aligns the code sample with
the documentation. Also replace `type` with `zen.hosts_provider` as 
discovery.type was removed in #25080.
@tlrx tlrx added the v6.3.0 label Mar 12, 2018
@shaneog shaneog deleted the gce-docs branch March 12, 2018 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed Coordination/Discovery-Plugins Anything related to our integration plugins with EC2, GCP and Azure >docs General docs changes v6.3.0 v7.0.0-beta1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants