diff options
Diffstat (limited to 'go/operation')
| -rw-r--r-- | go/operation/list_masters.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/go/operation/list_masters.go b/go/operation/list_masters.go index ade975c71..491c79f20 100644 --- a/go/operation/list_masters.go +++ b/go/operation/list_masters.go @@ -7,9 +7,9 @@ import ( ) type ClusterStatusResult struct { - IsLeader bool - Leader string - Peers []string + IsLeader bool `json:"IsLeader,omitempty"` + Leader string `json:"Leader,omitempty"` + Peers []string `json:"Peers,omitempty"` } func ListMasters(server string) ([]string, error) { |
