-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use HTTP client instead of
cf curl
to fetch Process stats
- Since the `/v3/processes/:guid/stats endpoint now may set an `X-Cf-Warnings` header (see cloudfoundry/cloud_controller_ng#2227), the CLI may return the contents of this header along with the endpoint's regular JSON response which causes parsing errors in the BARAs - Logged cloudfoundry/cli#2164 with the CLI to make it so that header isn't printed to `stdout` for this command, but until then we can just switch to use a regular http client to fetch this endpoint [#177518468](https://www.pivotaltracker.com/story/show/177518468) Authored-by: Tim Downey <[email protected]>
- Loading branch information
Showing
2 changed files
with
31 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters