You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pubsub.getTopics() returns topics that throw error on topic.delete() #1005
This is a problem in gcloud@0.26.0 and 0.25.0; v0.24.1 does not reproduce the problem. Tested with node v4 LTS.
The problem is that topics returned by pubsub.getTopics() are somehow constructed differently than pubsub.createTopic() - in that eventually the former uses an invalid url when topic.delete() is called.
It tries to send an api request to e.g. path: /v1/projects/projectname/topics/projects/projectname/topics/delme_704317
Activity
ensure topic ServiceObject always gets short name
ensure topic ServiceObject always gets short name
jgeewax commentedon Dec 8, 2015
Thanks for the super thorough report :) This is awesome. /cc @stephenplusplus
stephenplusplus commentedon Dec 8, 2015
Great report, indeed! Sorry you ran into this. I'll look it over in a little bit and try to squash it for good and put out a patch release.
stephenplusplus commentedon Dec 8, 2015
PR sent in #1008.
chrishiestand commentedon Dec 9, 2015
Thanks for the quick turnaround!
chore(deps): update dependency @types/node to v18 (#1005)
feat: update rest version for metrics (#1005)
feat: publish post-processor images to cloud-devrel-public-resources (#…
chore: release 5.9.0 (#1006)
test: environment test for Cloud Functions (#1005)
chore: release 2.0.0 (#1005)
chore: release 2.0.0 (#1005)