-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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(healthcare): replace deprecated NotificationConfig with FhirNotificationConfig #4377
fix(healthcare): replace deprecated NotificationConfig with FhirNotificationConfig #4377
Conversation
healthcare/fhir_store_patch.go
Outdated
PubsubTopic: topicName, // format is "projects/*/locations/*/topics/*" | ||
} | ||
|
||
if _, err := storesService.Patch(name, &healthcare.FhirStore{NotificationConfigs: []*healthcare.FhirNotificationConfig{notificationConfig}}).UpdateMask("notificationConfigs").Do(); err != nil { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
issue: initialize the healthcare.FhirStore
object and call UpdateMask()
outside of this block.
This is difficult to read as written.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
No region tags are edited in this PR.This comment is generated by snippet-bot.
|
7bcbd07
to
a54801e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you very much!
Description
Fixes b/310269530
Checklist
go test -v ./..
(see Testing)gofmt
(see Formatting)go vet
(see Formatting)