Skip to content

Commit

Permalink
Change startApi to private function
Browse files Browse the repository at this point in the history
  • Loading branch information
deadprogram committed Apr 19, 2014
1 parent 1719a02 commit 58530ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ var startApi = func(me *api) {
}
}

func (me *api) StartApi() {
func (me *api) startApi() {
startApi(me)
}

Expand Down
2 changes: 1 addition & 1 deletion master.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 58530ee

Please sign in to comment.