diff --git a/api.go b/api.go index 3a9e6e2e2..7906633db 100644 --- a/api.go +++ b/api.go @@ -63,7 +63,7 @@ var startApi = func(me *api) { } } -func (me *api) StartApi() { +func (me *api) startApi() { startApi(me) } diff --git a/master.go b/master.go index f77759172..6a78ea1fa 100644 --- a/master.go +++ b/master.go @@ -26,7 +26,7 @@ func (m *Master) Start() { runtime.GOMAXPROCS(m.NumCPU) if m.Api != nil { - m.Api.StartApi() + m.Api.startApi() } for s := range m.Robots {