This repository is currently being migrated. It's locked while the migration is in progress.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle partial results returned from a GetVolumes API call (#229)
Handle the context deadline exceeded error from the backend (identified by the http status code PartialContent returned) and print the data we managed to get back This data set will most likely fail to include some of the data about volume replicas so for those volumes we may see 0/2 replicas healthy even thought they may exist and be healthy To make this clear for the user I have added a message that prints just before the table output that reads: `context deadline exceeded, these are partial results and may be missing replica states for some volumes` We expect this to be a rare case to hit
- Loading branch information
1 parent
4e189d7
commit 302eefc
Showing
10 changed files
with
200 additions
and
211 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
Oops, something went wrong.