Skip to content

Commit 78f4398

Browse files
silvanocerzacmaglie
authored andcommitted
Remove BoardAttach gRPC interface command
1 parent 5ff3adc commit 78f4398

File tree

7 files changed

+505
-954
lines changed

7 files changed

+505
-954
lines changed

commands/board/attach.go

Lines changed: 0 additions & 165 deletions
This file was deleted.

commands/daemon/daemon.go

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -140,17 +140,6 @@ func (s *ArduinoCoreServerImpl) BoardListWatch(stream rpc.ArduinoCoreService_Boa
140140
return nil
141141
}
142142

143-
// BoardAttach FIXMEDOC
144-
func (s *ArduinoCoreServerImpl) BoardAttach(req *rpc.BoardAttachRequest, stream rpc.ArduinoCoreService_BoardAttachServer) error {
145-
resp, err := board.Attach(stream.Context(), req,
146-
func(p *rpc.TaskProgress) { stream.Send(&rpc.BoardAttachResponse{TaskProgress: p}) },
147-
)
148-
if err != nil {
149-
return convertErrorToRPCStatus(err)
150-
}
151-
return stream.Send(resp)
152-
}
153-
154143
// Destroy FIXMEDOC
155144
func (s *ArduinoCoreServerImpl) Destroy(ctx context.Context, req *rpc.DestroyRequest) (*rpc.DestroyResponse, error) {
156145
resp, err := commands.Destroy(ctx, req)

0 commit comments

Comments
 (0)