This commit is contained in:
Mitchell Hashimoto 2013-06-03 22:32:04 -07:00
parent 12a9362f0a
commit 5c39a2f7ca
1 changed files with 2 additions and 2 deletions

View File

@ -121,7 +121,7 @@ func (b *BuilderServer) Run(args *BuilderRunArgs, reply *interface{}) error {
responseWriter := gob.NewEncoder(responseC)
// Run the build in a goroutine so we don't block the RPC connection
go func () {
go func() {
defer responseC.Close()
hook := Hook(client)
@ -138,7 +138,7 @@ func (b *BuilderServer) Run(args *BuilderRunArgs, reply *interface{}) error {
return nil
}
func (b *BuilderServer) Cancel(args *interface{}, reply*interface{}) error {
func (b *BuilderServer) Cancel(args *interface{}, reply *interface{}) error {
b.builder.Cancel()
return nil
}