Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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
Collaborator

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
7 checks passed
@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 join this conversation on GitHub. Already have an account? Sign in to comment
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