From f60aa3dd88f4813dd766c36c4c1860e7a408858a Mon Sep 17 00:00:00 2001 From: Renan DelValle Date: Tue, 28 Nov 2017 16:53:12 -0800 Subject: [PATCH] Removed cluster example as we replaced the need to create the Cluster object. --- examples/client.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/examples/client.go b/examples/client.go index 5dadf1b..63565da 100644 --- a/examples/client.go +++ b/examples/client.go @@ -92,14 +92,6 @@ func main() { //check if zkUrl is available. if zkUrl != "" { fmt.Println("zkUrl: ", zkUrl) - cluster := &realis.Cluster{Name: "example", - AuthMechanism: "UNAUTHENTICATED", - ZK: zkUrl, - SchedZKPath: "/aurora/scheduler", - AgentRunDir: "latest", - AgentRoot: "/var/lib/mesos", - } - fmt.Printf("cluster: %+v \n", cluster) clientOptions = append(clientOptions, realis.ZKUrl(zkUrl)) } else { clientOptions = append(clientOptions, realis.SchedulerUrl(url))