We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9221c7f commit 3cfc8ebCopy full SHA for 3cfc8eb
1 file changed
storage/notifications.go
@@ -116,7 +116,7 @@ func toProtoNotification(n *Notification) *storagepb.NotificationConfig {
116
}
117
118
119
-var topicRE = regexp.MustCompile("^//pubsub.googleapis.com/projects/([^/]+)/topics/([^/]+)")
+var topicRE = regexp.MustCompile(`^//pubsub\.googleapis\.com/projects/([^/]+)/topics/([^/]+)`)
120
121
// parseNotificationTopic extracts the project and topic IDs from from the full
122
// resource name returned by the service. If the name is malformed, it returns
0 commit comments