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 5151 validVidPid = regexp .MustCompile (`0[xX][a-fA-F\d]{4}` )
5252)
5353
54- func cachedApiByVidPid (vid , pid string ) ([]* rpc.BoardListItem , error ) {
54+ func cachedAPIByVidPid (vid , pid string ) ([]* rpc.BoardListItem , error ) {
5555 var resp []* rpc.BoardListItem
5656
5757 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) {
150150 }
151151
152152 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" ))
154154}
155155
156156// 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