fmt
This commit is contained in:
parent
12a9362f0a
commit
5c39a2f7ca
|
@ -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 {
|
||||||
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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue