diff options
author | Amar Tumballi <amar@gluster.com> | 2010-07-20 02:40:58 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-07-20 20:44:18 -0700 |
commit | 3e34ad9388e3cf2493f3d75a760e6943f59dc55c (patch) | |
tree | 327f91f93799c6eba2f89abd20dfcbb57e5277f7 /cli/src/cli-cmd-volume.c | |
parent | 9e3b58a2abdee5c1cf748eb463042ca9ef6aac66 (diff) |
add port as an optional argument to 'probe' command
* there will be just 'one' glusterd per machine, but in case if its
run on different port, then this option is useful to probe.
Signed-off-by: Amar Tumballi <amar@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 1074 (port related issues in 'gluster probe' command)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1074
Diffstat (limited to 'cli/src/cli-cmd-volume.c')
-rw-r--r-- | cli/src/cli-cmd-volume.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/src/cli-cmd-volume.c b/cli/src/cli-cmd-volume.c index af06d89614a..7aafddccc4c 100644 --- a/cli/src/cli-cmd-volume.c +++ b/cli/src/cli-cmd-volume.c @@ -91,6 +91,9 @@ out: char *volname = (char *) words[2]; cli_out ("Creating Volume %s failed",volname ); } + if (options) + dict_destroy (options); + return ret; } |