@@ -33,8 +33,8 @@ type serverInfo struct {
33
33
httpsListenPort int
34
34
}
35
35
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 {
38
38
masterServerCmd * exec.Cmd
39
39
balancerCmd * exec.Cmd
40
40
servers []serverInfo
@@ -43,7 +43,7 @@ type ComponentsInfo struct {
43
43
}
44
44
45
45
// killAll kills all running processes
46
- func (cc * ComponentsInfo ) killAll () {
46
+ func (cc * componentsInfo ) killAll () {
47
47
for _ , cl := range cc .clientCmds {
48
48
if cl != nil {
49
49
cl .Process .Kill ()
@@ -355,7 +355,7 @@ func BuildConfigurations(configDir string, serverHosts []string, serverFrontendI
355
355
return nil
356
356
}
357
357
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 {
359
359
firstAdminPort := 6061
360
360
361
361
// Start Master server
@@ -444,7 +444,7 @@ func ConfigureAndStart(t *testing.T, mysqlCredentials MysqlCredentials, frontend
444
444
t .Fatalf ("Failed to build base Fleetspeak configuration: %v" , err )
445
445
}
446
446
447
- cc := ComponentsInfo {}
447
+ cc := componentsInfo {}
448
448
err = cc .start (configDir , frontendAddress , msAddress , numServers , numClients )
449
449
if err != nil {
450
450
cc .killAll ()
0 commit comments