You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "Revolyssup (via GitHub)" <gi...@apache.org> on 2023/04/09 12:39:40 UTC
[GitHub] [apisix-ingress-controller] Revolyssup opened a new issue, #1771: bug: malformed URL creation for schemaClient
Revolyssup opened a new issue, #1771:
URL: https://github.com/apache/apisix-ingress-controller/issues/1771
### Current Behavior
The URL generated for schema here has `/` already in the suffix https://github.com/apache/apisix-ingress-controller/blob/97f9ef904b3e1e0d66e6fddae59712e7ec849fca/pkg/apisix/schema.go#L36.
Another `/` gets added before making the GET request here: https://github.com/apache/apisix-ingress-controller/blob/97f9ef904b3e1e0d66e6fddae59712e7ec849fca/pkg/apisix/schema.go#L66
### Expected Behavior
The extra `/` suffixed to the URL in new function should be removed.
### Error Logs
![Screenshot 2023-04-09 at 5 55 32 PM](https://user-images.githubusercontent.com/43276904/230772880-5bd82ff9-5d03-427e-b6ce-73ecfbd1ae5a.png)
### Steps to Reproduce
Run `make build` and run the controller locally.
### Environment
- APISIX Ingress controller version
Version: 1.6.0
Git SHA: 97f9ef9
Go Version: go1.19.2
Building OS/Arch: darwin/arm64
Running OS/Arch: darwin/arm64
- Kubernetes cluster version v1.25.2
- OS version if running APISIX Ingress controller in a bare-metal environment
Darwin Kernel Version 21.4.0
--
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: notifications-unsubscribe@apisix.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-ingress-controller] Revolyssup commented on issue #1771: bug: malformed URL creation for schemaClient
Posted by "Revolyssup (via GitHub)" <gi...@apache.org>.
Revolyssup commented on issue #1771:
URL: https://github.com/apache/apisix-ingress-controller/issues/1771#issuecomment-1501120855
Can I take this up, given that the issue is small and fix is straightforward?
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-ingress-controller] tao12345666333 closed issue #1771: bug: malformed URL creation for schemaClient
Posted by "tao12345666333 (via GitHub)" <gi...@apache.org>.
tao12345666333 closed issue #1771: bug: malformed URL creation for schemaClient
URL: https://github.com/apache/apisix-ingress-controller/issues/1771
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #1771: bug: malformed URL creation for schemaClient
Posted by "tao12345666333 (via GitHub)" <gi...@apache.org>.
tao12345666333 commented on issue #1771:
URL: https://github.com/apache/apisix-ingress-controller/issues/1771#issuecomment-1501542378
#1772 has been merged, I will close this one, Thanks
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org