From ab58ecfa5f7beaa29f7424d4d1ed9603d23f4e16 Mon Sep 17 00:00:00 2001 From: Noah Dietz Date: Wed, 13 Sep 2023 19:01:30 -0700 Subject: [PATCH] chore(internal/postprocessor): fix containeranalysis/v1beta1 doc url flake (#8571) --- internal/postprocessor/README.md | 4 ++-- internal/postprocessor/config.yaml | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/internal/postprocessor/README.md b/internal/postprocessor/README.md index 387e838f18ed..d6d0db1a285e 100644 --- a/internal/postprocessor/README.md +++ b/internal/postprocessor/README.md @@ -36,8 +36,8 @@ the OwlBot lock file. 2. Make changes to the post-processor. 3. Test your changes. You can run the post-processor locally on selected clients or on all of the clients in the root directory. If the `branch` - flag is not set to a non-empty value, the post-processor will exit early - without changes. In the `google-cloud-go/internal/postprocessor` directory: + flag is empty/unset, the post-processor will exit early without changes. + In the `google-cloud-go/internal/postprocessor` directory: ```bash go run . -client-root="../.." -googleapis-dir="/path/to/local/googleapis" -branch="my-branch" diff --git a/internal/postprocessor/config.yaml b/internal/postprocessor/config.yaml index 2e3384ecddff..334ea296895b 100644 --- a/internal/postprocessor/config.yaml +++ b/internal/postprocessor/config.yaml @@ -972,10 +972,11 @@ service-configs: service-config: storagetransfer_v1.yaml import-path: cloud.google.com/go/storagetransfer/apiv1 # All entries below are clients that are not currently copied by owlbot. They - # explicitly express thier import path for some code gen. + # explicitly express their import path for some code gen. - input-directory: google/devtools/containeranalysis/v1beta1/grafeas service-config: ../containeranalysis_v1beta1.yaml import-path: cloud.google.com/go/containeranalysis/apiv1beta1 + rel-path: /containeranalysis/apiv1beta1 - input-directory: google/cloud/video/stitcher/v1 service-config: videostitcher_v1.yaml import-path: cloud.google.com/go/video/stitcher/apiv1