Skip to content

Commit

Permalink
Add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
cholcombe973 committed Jun 21, 2016
1 parent 543e0ae commit 39cc607
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1230,6 +1230,9 @@ fn parse_volume_status(output_str: String)->Result<Vec<BrickStatus>, GlusterErro

}

/// Query the status of the volume given.
/// # Failures
/// Will return GlusterError if the command fails to run
pub fn volume_status(volume: &str) -> Result<Vec<BrickStatus>, GlusterError>{
let mut arg_list: Vec<String> = Vec::new();
arg_list.push("vol".to_string());
Expand Down

0 comments on commit 39cc607

Please sign in to comment.