Followed same format as cluster.json.

Instead of camelcase, used snake-case to match those used by the default
Aurora python client.
This commit is contained in:
Pradyumna Kaushik 2018-06-25 10:56:42 -07:00
parent ee57cfae4b
commit 5950129b79
2 changed files with 2 additions and 2 deletions

View file

@ -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",

View file

@ -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"`