pubsub: support clearing dead letter policies #1822
Labels
api: pubsub
Issues related to the Pub/Sub API.
priority: p1
Important issue which blocks shipping the next release. Will be fixed prior to next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Client
PubSub
Code
Expected behavior
Since setting DeadLetterPolicy to nil is a no-op, the zero value of the struct should be used to clear the dead letter policy.
Actual behavior
An error is returned saying the name for DeadLetterPolicy.DeadLetterTopic is an invalid resource name.
The text was updated successfully, but these errors were encountered: