From 3b7333f85a5cdb6d052f4e65ba0738336034ffcb Mon Sep 17 00:00:00 2001 From: "Sahdev P. Zala" Date: Thu, 15 Feb 2018 21:39:05 -0500 Subject: [PATCH] etcdctl/check: create new check command for memory usage Create a new command similar to check perf that can check the memory consumption for putting different workloads on a given endpoint. If no endpoint is provided, localhost will be used. Return user with a message that whether there are enough memory for a given workload with pass or fail. Fixed #9121 --- etcdctl/ctlv3/command/check.go | 1 + 1 file changed, 1 insertion(+) diff --git a/etcdctl/ctlv3/command/check.go b/etcdctl/ctlv3/command/check.go index 5cce546ff774..c83cda9bbf38 100644 --- a/etcdctl/ctlv3/command/check.go +++ b/etcdctl/ctlv3/command/check.go @@ -286,6 +286,7 @@ func defrag(c *v3.Client, ep string) { } fmt.Printf("Defragmented %q\n", ep) } + // NewCheckDatascaleCommand returns the cobra command for "check datascale". func NewCheckDatascaleCommand() *cobra.Command { cmd := &cobra.Command{