-
Notifications
You must be signed in to change notification settings - Fork 932
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
…2796) * Introduce `--no-stats` for `cf apps` Fetching process stats requires a `/stats` request for each process. If a space contains a large number apps or processes this slows down `cf apps`. In case a user is not interested in stats the `--no-stats` flag can be helpful. * Handle `ProcessNotFoundError` in `cf apps` As a user calls `cf apps` in a large space it might happen that a app was deleted while the CLI is putting all the different information (processes, stats & routes) together. This leads to a failing `cf apps` command. This change prevents this by catching `ProcessNotFoundError` errors and returning `nil` instead. Related to #2734
- Loading branch information
Showing
6 changed files
with
1,173 additions
and
773 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
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
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
Oops, something went wrong.