@@ -33,8 +33,8 @@ type serverInfo struct {
3333 httpsListenPort int
3434}
3535
36- // ComponentsInfo contains IDs of connected clients and exec.Cmds for all components
37- type ComponentsInfo struct {
36+ // componentsInfo contains IDs of connected clients and exec.Cmds for all components
37+ type componentsInfo struct {
3838 masterServerCmd * exec.Cmd
3939 balancerCmd * exec.Cmd
4040 servers []serverInfo
@@ -43,7 +43,7 @@ type ComponentsInfo struct {
4343}
4444
4545// killAll kills all running processes
46- func (cc * ComponentsInfo ) killAll () {
46+ func (cc * componentsInfo ) killAll () {
4747 for _ , cl := range cc .clientCmds {
4848 if cl != nil {
4949 cl .Process .Kill ()
@@ -355,7 +355,7 @@ func BuildConfigurations(configDir string, serverHosts []string, serverFrontendI
355355 return nil
356356}
357357
358- func (cc * ComponentsInfo ) start (configDir string , frontendAddress , msAddress string , numServers , numClients int ) error {
358+ func (cc * componentsInfo ) start (configDir string , frontendAddress , msAddress string , numServers , numClients int ) error {
359359 firstAdminPort := 6061
360360
361361 // Start Master server
@@ -444,7 +444,7 @@ func ConfigureAndStart(t *testing.T, mysqlCredentials MysqlCredentials, frontend
444444 t .Fatalf ("Failed to build base Fleetspeak configuration: %v" , err )
445445 }
446446
447- cc := ComponentsInfo {}
447+ cc := componentsInfo {}
448448 err = cc .start (configDir , frontendAddress , msAddress , numServers , numClients )
449449 if err != nil {
450450 cc .killAll ()
0 commit comments