Commit 5c39a2f7 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

fmt

parent 12a9362f
...@@ -121,7 +121,7 @@ func (b *BuilderServer) Run(args *BuilderRunArgs, reply *interface{}) error { ...@@ -121,7 +121,7 @@ func (b *BuilderServer) Run(args *BuilderRunArgs, reply *interface{}) error {
responseWriter := gob.NewEncoder(responseC) responseWriter := gob.NewEncoder(responseC)
// Run the build in a goroutine so we don't block the RPC connection // Run the build in a goroutine so we don't block the RPC connection
go func () { go func() {
defer responseC.Close() defer responseC.Close()
hook := Hook(client) hook := Hook(client)
...@@ -138,7 +138,7 @@ func (b *BuilderServer) Run(args *BuilderRunArgs, reply *interface{}) error { ...@@ -138,7 +138,7 @@ func (b *BuilderServer) Run(args *BuilderRunArgs, reply *interface{}) error {
return nil return nil
} }
func (b *BuilderServer) Cancel(args *interface{}, reply*interface{}) error { func (b *BuilderServer) Cancel(args *interface{}, reply *interface{}) error {
b.builder.Cancel() b.builder.Cancel()
return nil return nil
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment