Skip to content

Commit

Permalink
chore: bootstrapper code clean up (#11963)
Browse files Browse the repository at this point in the history
  • Loading branch information
parthea authored Nov 1, 2023
1 parent 63668fe commit 8971b02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions containers/python-bootstrap-container/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ sed -i -e "s|apiProductDocumentation|$PRODUCT_DOCS_URL|" "${WORKSPACE_DIR}/${MON
# If the API is `cloud`, the docs will be published to `cloud.google.com`.
# For non-cloud, the docs will be published to `googleapis.dev`.
if [[ $FOLDER_NAME =~ "cloud" ]]; then
CLIENT_DOCS_URL="$(echo https://cloud.google.com/python/docs/reference/$FOLDER_NAME/latest)"
CLIENT_DOCS_URL="https://cloud.google.com/python/docs/reference/$FOLDER_NAME/latest"
else
CLIENT_DOCS_URL="$(echo https://googleapis.dev/python/$FOLDER_NAME/latest)"
CLIENT_DOCS_URL="https://googleapis.dev/python/$FOLDER_NAME/latest"
fi

# Update clientDocumentation in .repo-metadata.json
Expand Down

0 comments on commit 8971b02

Please sign in to comment.