From 608d3686f55f6dca04130079c7ebf98feeabef51 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 5 Jun 2020 09:37:03 -0700 Subject: [PATCH] chore: update docs formatting (#35) autosynth cannot find the source of changes triggered by earlier changes in this repository, or by version upgrades to tools such as linters. --- .../google/cloud/dataproc_v1/proto/clusters_pb2.py | 10 +++++----- packages/google-cloud-dataproc/synth.metadata | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/google-cloud-dataproc/google/cloud/dataproc_v1/proto/clusters_pb2.py b/packages/google-cloud-dataproc/google/cloud/dataproc_v1/proto/clusters_pb2.py index 6d084067ba42..cdfe0bc3b3f1 100644 --- a/packages/google-cloud-dataproc/google/cloud/dataproc_v1/proto/clusters_pb2.py +++ b/packages/google-cloud-dataproc/google/cloud/dataproc_v1/proto/clusters_pb2.py @@ -3353,11 +3353,11 @@ completed. By default, executables are run on master and all worker nodes. You can test a node’s ``role`` metadata to run an executable on a master or worker node, as shown below using - ``curl`` (you can also use ``wget``): :: ROLE=$(curl -H - Metadata-Flavor:Google http://metadata/computeMetadata/v1/i - nstance/attributes/dataproc-role) if [[ "${ROLE}" == - 'Master' ]]; then ... master specific actions ... else - ... worker specific actions ... fi + ``curl`` (you can also use ``wget``): ROLE=\ :math:`(curl -H + Metadata-Flavor:Google http://metadata/computeMetadata/v1/ins + tance/attributes/dataproc-role) if [[ "`\ {ROLE}" == ‘Master’ + ]]; then … master specific actions … else … worker specific + actions … fi encryption_config: Optional. Encryption settings for the cluster. autoscaling_config: diff --git a/packages/google-cloud-dataproc/synth.metadata b/packages/google-cloud-dataproc/synth.metadata index 7a7844c73931..2b01ec8628e3 100644 --- a/packages/google-cloud-dataproc/synth.metadata +++ b/packages/google-cloud-dataproc/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/python-dataproc.git", - "sha": "40579d265c7c97febcfdec5f79b12ded8c232226" + "sha": "2021ceb663c17ccda395fcb7c672a889f7c03526" } }, {