diff options
| author | Kaushik BV <kaushikbv@gluster.com> | 2011-02-24 00:08:46 +0000 | 
|---|---|---|
| committer | Anand V. Avati <avati@dev.gluster.com> | 2011-03-01 02:06:09 -0800 | 
| commit | 7e546e16925e50dc33db05c67b8b5cad1b3922ef (patch) | |
| tree | 2bcd9af33edb868b3690828a70edb0c3abc37604 /cli/src/cli-cmd-volume.c | |
| parent | a3ab0ad1f1c0a5574ae294f5d72aac4df8f50124 (diff) | |
Gsync : Do not expose volume gsync, when geo-replication is disabled
Signed-off-by: Kaushik BV <kaushikbv@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 1570 (geosync related changes)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1570
Diffstat (limited to 'cli/src/cli-cmd-volume.c')
| -rw-r--r-- | cli/src/cli-cmd-volume.c | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/src/cli-cmd-volume.c b/cli/src/cli-cmd-volume.c index 5039fa2dd48..9e93d4e973c 100644 --- a/cli/src/cli-cmd-volume.c +++ b/cli/src/cli-cmd-volume.c @@ -1002,10 +1002,11 @@ struct cli_cmd volume_cmds[] = {           cli_cmd_volume_reset_cbk,           "reset all the reconfigured options"}, +#if (SYNCDAEMON_COMPILE)          {"volume gsync <start|stop|configure> <MASTER> <SLAVE> [options]",           cli_cmd_volume_gsync_set_cbk,           "Geo-sync operations"}, - +#endif          { NULL, NULL, NULL }  };  | 
