Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(bors): merge pull request #770
770: fix(volume/resize): more appropriate error mapping r=dsharma-dc a=dsharma-dc Quoting from gRPC documentation: "There is a fair bit of overlap between FAILED_PRECONDITION and OUT_OF_RANGE. We recommend using OUT_OF_RANGE (the more specific error) when it applies so that callers who are iterating through a space can easily look for an OUT_OF_RANGE error to detect when they are done." The Mayastor CSI driver maps ResourceExhausted to OutOfRange for VolumeExpansion. Co-authored-by: Diwakar Sharma <diwakar.sharma@datacore.com>
- Loading branch information