Change ControllerArgs Hosts array to Host string

This commit is contained in:
Krishna Srinivas
2015-09-22 00:44:41 -07:00
parent b45c6020e4
commit 53e87a0790
3 changed files with 42 additions and 51 deletions
+3 -3
View File
@@ -38,9 +38,9 @@ type ServerArg struct{}
// ControllerArgs controller params
type ControllerArgs struct {
Hosts []string `json:"hosts"` // hosts is a collection of host or host:port
SSL bool `json:"ssl"`
ID string `json:"id"`
Host string `json:"host"` // host or host:port
SSL bool `json:"ssl"`
ID string `json:"id"`
}
//// RPC replies