We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7bbf2a2 commit 781c0b0Copy full SHA for 781c0b0
commands/board/list.go
@@ -51,7 +51,7 @@ var (
51
validVidPid = regexp.MustCompile(`0[xX][a-fA-F\d]{4}`)
52
)
53
54
-func cachedApiByVidPid(vid, pid string) ([]*rpc.BoardListItem, error) {
+func cachedAPIByVidPid(vid, pid string) ([]*rpc.BoardListItem, error) {
55
var resp []*rpc.BoardListItem
56
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
}
151
152
logrus.Debug("Querying builder API for board identification...")
153
- return cachedApiByVidPid(id.Get("vid"), id.Get("pid"))
+ return cachedAPIByVidPid(id.Get("vid"), id.Get("pid"))
154
155
156
// identify returns a list of boards checking first the installed platforms or the Cloud API
0 commit comments