[sheepdog] [PATCH] nd

Liu Yuan namei.unix at gmail.com
Wed Feb 25 02:48:07 CET 2015


On Tue, Feb 24, 2015 at 06:17:58PM +0800, Yu Yang wrote:
> 
> Signed-off-by: Yu Yang <yuyang at cmss.chinamobile.com>
> ---
>  sheep/sheep.c |    5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/sheep/sheep.c b/sheep/sheep.c
> index a5ba208..5e5f287 100644
> --- a/sheep/sheep.c
> +++ b/sheep/sheep.c
> @@ -68,9 +68,10 @@ static const char cluster_help[] =
>  "\tlocal: use local driver\n"
>  "\tcorosync: use corosync driver\n"
>  "\tzookeeper: use zookeeper driver, need extra arguments\n"
> -"\n\tzookeeper arguments: address-list,timeout=value(default as 3000),domain=value(default as sd_domain_default)\n"
> +"\n\tzookeeper arguments: address-list,timeout=value(default as 3000)"
> +",domain=value(default as sd_domain_default)\n"
>  "\nExample:\n\t"
> -"$ sheep -c zookeeper:IP1:PORT1,IP2:PORT2,IP3:PORT3,timeout=1000,domain=sheep_domain ...\n"
> +"$ sheep -c zookeeper:IP1:PORT1,IP2:PORT2,IP3:PORT3,timeout=1000,domain=sheep_01 ...\n"
>  "This tries to use 3 node zookeeper cluster, which can be reached by\n"
>  "IP1:PORT1, IP2:PORT2, IP3:PORT3 to manage membership and broadcast message\n"
>  "and set the timeout of node heartbeat as 1000 milliseconds\n"
> -- 
> 1.7.9.5
> 
> 
> 
> -- 
> sheepdog mailing list
> sheepdog at lists.wpkg.org
> https://lists.wpkg.org/mailman/listinfo/sheepdog

Please reference https://github.com/sheepdog/sheepdog/wiki/Submit-a-patch for
the well-formated patch header. Or git log will show you some examples.

Thanks
Yuan



More information about the sheepdog mailing list