hantmac commented on code in PR #734:
URL: https://github.com/apache/pulsar-client-go/pull/734#discussion_r850954145
##########
pulsar/internal/topic_name.go:
##########
@@ -107,6 +107,9 @@ func ParseTopicName(topic string) (*TopicName, error) {
}
func TopicNameWithoutPartitionPart(tn *TopicName) string {
+ if tn == nil {
+ return ""
+ }
Review Comment:
Checking both looks good to me.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]