Closed ewrenn8 closed 1 month ago
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/169442867
The labels on this github issue will be updated when the story is started.
Hey thanks @ewrenn8, for creating this issue. We'll try to review some time soon.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed.
Thank you for your submission. If you still run into this issue with the latest CLI v8, please open a new ticket.
Describe the bug and the command you saw an issue with Cf curl panics if there is no uaa and the auth token is expired.
To Reproduce Steps to reproduce the behavior; include the exact CLI commands and verbose output:
cf login
as adminbosh stop uaa
~/.cf/config.json
and wait until the expiration timecf curl v3/
Relevant Stack Trace
When UAA can't be found, this line returns an error, meaning the response is
<nil>
while err is aHTTPNotFoundError
. After executing this line err gets reset to<nil>
, allowing us to call .Body on a nil pointer