Skip to content

Commit 55d4ae4

Browse files
author
Massimiliano Pippi
committed
add all_versions option to the rpc proto
1 parent 2f3e812 commit 55d4ae4

File tree

3 files changed

+51
-40
lines changed

3 files changed

+51
-40
lines changed

commands/daemon/daemon.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ func (s *ArduinoCoreServerImpl) PlatformUpgrade(req *rpc.PlatformUpgradeReq, str
196196

197197
// PlatformSearch FIXMEDOC
198198
func (s *ArduinoCoreServerImpl) PlatformSearch(ctx context.Context, req *rpc.PlatformSearchReq) (*rpc.PlatformSearchResp, error) {
199-
return core.PlatformSearch(req.GetInstance().GetId(), req.GetSearchArgs(), false)
199+
return core.PlatformSearch(req.GetInstance().GetId(), req.GetSearchArgs(), req.GetAllVersions())
200200
}
201201

202202
// PlatformList FIXMEDOC

rpc/commands/core.pb.go

+49-39
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rpc/commands/core.proto

+1
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ message PlatformUpgradeResp {
7070
message PlatformSearchReq {
7171
Instance instance = 1;
7272
string search_args = 2;
73+
bool all_versions = 3;
7374
}
7475

7576
message PlatformSearchResp {

0 commit comments

Comments
 (0)