Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

fix(sample): fix a broken test #63

Merged
merged 2 commits into from Sep 18, 2020
Merged

Conversation

tmatsuo
Copy link
Contributor

@tmatsuo tmatsuo commented Sep 18, 2020

fixes #59

It seems like it fails when we try to update streaming_config.filter field.
Maybe we can omit that field from the sample code for now.

@hannah-tsai FYI

@tmatsuo tmatsuo requested a review from a team as a code owner September 18, 2020 22:05
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Sep 18, 2020
@@ -124,19 +124,21 @@ def update_notification_config(organization_id, notification_config_id, pubsub_t

# Only description and pubsub_topic can be updated.
field_mask = field_mask_pb2.FieldMask(
paths=["description", "pubsub_topic", "streaming_config.fitler"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this failing because this was a typo? fitler instead of filter?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh Nice catch, I'll update :)

@tmatsuo tmatsuo merged commit 7062b1c into googleapis:master Sep 18, 2020
@tmatsuo tmatsuo deleted the fix-sample branch September 18, 2020 22:33
@tmatsuo tmatsuo mentioned this pull request Sep 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

samples.snippets.snippets_notification_test: test_update_notification_config failed
2 participants