From 917bdca3544e557bc5d5a20d4197910bc434e847 Mon Sep 17 00:00:00 2001 From: Renan DelValle Date: Fri, 26 Aug 2016 16:39:56 -0700 Subject: [PATCH] Changed return of activeCount. Updated client usage docs --- docs/using-the-sample-client.md | 4 +++- examples/client.go | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/using-the-sample-client.md b/docs/using-the-sample-client.md index 293aedd..eb0bc47 100644 --- a/docs/using-the-sample-client.md +++ b/docs/using-the-sample-client.md @@ -2,7 +2,9 @@ ## Usage: ``` -Usage of client: +Usage of ./client: + -cluster string + Name of cluster to run job on (default "devcluster") -clusters string Location of the clusters.json file used by aurora. -cmd string diff --git a/examples/client.go b/examples/client.go index 078fb6a..74f40fc 100644 --- a/examples/client.go +++ b/examples/client.go @@ -181,7 +181,7 @@ func main() { os.Exit(1) } - fmt.Println("Number of live instances: ", live) + fmt.Println("Number of live instances: ", len(live)) break case "flexUp": fmt.Println("Flexing up job")