You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/06/07 10:34:49 UTC
[GitHub] [apisix-ingress-controller] tao12345666333 commented on a change in pull request #529: fix: nil pointer dereference
tao12345666333 commented on a change in pull request #529:
URL: https://github.com/apache/apisix-ingress-controller/pull/529#discussion_r646467734
##########
File path: pkg/types/apisix/v1/types.go
##########
@@ -455,7 +456,8 @@ func ComposeConsumerName(namespace, name string) string {
p := make([]byte, 0, len(namespace)+len(name)+1)
buf := bytes.NewBuffer(p)
- buf.WriteString(namespace)
+ // TODO If APISIX modifies the consumer name schema, we can drop this.
+ buf.WriteString(strings.Replace(namespace, "-", "_", -1))
Review comment:
should we change APISIX consumer name's schema?
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org