From 5950129b7918dda04aeecef7006b6eed365cda5c Mon Sep 17 00:00:00 2001 From: Pradyumna Kaushik Date: Mon, 25 Jun 2018 10:56:42 -0700 Subject: [PATCH] Followed same format as cluster.json. Instead of camelcase, used snake-case to match those used by the default Aurora python client. --- examples/config.json | 2 +- examples/jsonClient.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/config.json b/examples/config.json index 246179a..3ab87b7 100644 --- a/examples/config.json +++ b/examples/config.json @@ -1,7 +1,7 @@ { "username": "aurora", "password": "secret", - "schedUrl": "http://192.168.33.7:8081", + "sched_url": "http://192.168.33.7:8081", "cluster" : { "name": "devcluster", "zk": "192.168.33.7", diff --git a/examples/jsonClient.go b/examples/jsonClient.go index f7c6e38..adfe4e8 100644 --- a/examples/jsonClient.go +++ b/examples/jsonClient.go @@ -71,7 +71,7 @@ func (j *JobJson) Validate() bool { type Config struct { Username string `json:"username"` Password string `json:"password"` - SchedUrl string `json:"schedUrl"` + SchedUrl string `json:"sched_url"` BinTransport bool `json:"bin_transport,omitempty"` JsonTransport bool `json:"json_transport,omitempty"` ClusterConfig *realis.Cluster `json:"cluster"`