Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 29207cb

Browse filesBrowse files
authored
Fix pubsub topic name format (GoogleCloudPlatform#2547)
Apparently the patch API tolerated a bad format name until a few weeks ago, so this error was uncaught until now.
1 parent 8919598 commit 29207cb
Copy full SHA for 29207cb

File tree

Expand file treeCollapse file tree

1 file changed

+1
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-2
lines changed

‎healthcare/api-client/dicom/dicom_stores.py

Copy file name to clipboardExpand all lines: healthcare/api-client/dicom/dicom_stores.py
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,8 @@ def patch_dicom_store(
169169

170170
patch = {
171171
'notificationConfig': {
172-
'pubsubTopic': 'projects/{}/locations/{}/topics/{}'.format(
172+
'pubsubTopic': 'projects/{}/topics/{}'.format(
173173
project_id,
174-
cloud_region,
175174
pubsub_topic)}}
176175

177176
request = client.projects().locations().datasets().dicomStores().patch(

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.