File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 51
51
validVidPid = regexp .MustCompile (`0[xX][a-fA-F\d]{4}` )
52
52
)
53
53
54
- func cachedApiByVidPid (vid , pid string ) ([]* rpc.BoardListItem , error ) {
54
+ func cachedAPIByVidPid (vid , pid string ) ([]* rpc.BoardListItem , error ) {
55
55
var resp []* rpc.BoardListItem
56
56
57
57
cacheKey := fmt .Sprintf ("cache.builder-api.v3/boards/byvid/pid/%s/%s" , vid , pid )
@@ -150,7 +150,7 @@ func identifyViaCloudAPI(port *discovery.Port) ([]*rpc.BoardListItem, error) {
150
150
}
151
151
152
152
logrus .Debug ("Querying builder API for board identification..." )
153
- return cachedApiByVidPid (id .Get ("vid" ), id .Get ("pid" ))
153
+ return cachedAPIByVidPid (id .Get ("vid" ), id .Get ("pid" ))
154
154
}
155
155
156
156
// identify returns a list of boards checking first the installed platforms or the Cloud API
You can’t perform that action at this time.
0 commit comments