-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to quote endpoint on Windows? #4
Comments
Any update on that issue? |
We're taking a look at this now. Was there any particular error message you got? |
We've reproduced this issue and suspect this is actually an issue with the CF CLI plugin library. We've reached out to the CF CLI folks here: https://cloudfoundry.slack.com/archives/C032824SM/p1598999944084900 |
We are still waiting for clarity from the cf cli team. The windows command should be going into this condition, but it's not. We are waiting to learn if this case is something we should account for, or if the cf cli plugin library should handle it. |
@kkburr Any updates on this issue? |
In case anyone is blocked due to this. There is an alternative way to pass the PATH argument. In fact, the second argument can be PATH or URL. The URL must be the route's URL without the scheme. For instance, from the docs, you can register with this alternative way: cf register-metrics-endpoint example otherexample.com/metrics |
It seems to be impossible the register a relative URL like "/metrics" using the plugin on Windows (cmd or powershell).
The URL seems to be either invalid or the quoting messes up the registered service endpoint. Es quoting is different with cf CLI on different operation systems: what is the correct way to register an endpoint with the cli on Windows?
Version used: metric-registrar-cli-windows-amd64-1.3.0
The text was updated successfully, but these errors were encountered: