Formatting issue in eventarc golden files #1754
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
There is a formatting issue in the event arc golden files which was called out in #1740 (comment)
gapic-generator-python/tests/integration/goldens/eventarc/google/cloud/eventarc_v1/types/channel.py
Lines 104 to 107 in 4eee261
There number of spaces between the words
provider
andwasn't
is excessive.The current parsing logic does not remove the extra spaces which appear in the source proto as a result of indenting subsequent lines in lists.
See source proto here: https://github.com/googleapis/googleapis/blob/eda81ef50cbc08ddf39e9e0689e116421581a234/google/cloud/eventarc/v1/channel.proto#L59C1-L64C28
The extra spaces added in the example below specifically for indentation of subsequent lines in lists is the cause of the formatting issue.
The following correction in the source protos would not result in a gap in the generated output.
We can fix this problem by completing one or more of the following
The text was updated successfully, but these errors were encountered: