-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gluster-block: fix various cli operations exitcode
In version check failure paths, we are not updating the reply->exit variable. This patch will makesure about updating reply->exit value in all block*CliFormatResponse() functions, so that we never miss to update the right exitCode. Also improved some code for better readability. Reviewed-by: Pranith Kumar K <[email protected]> Signed-off-by: Prasanna Kumar Kalever <[email protected]>
- Loading branch information
Showing
1 changed file
with
14 additions
and
8 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