diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2018-02-23 21:16:39 +0100 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2018-02-23 21:17:11 +0100 |
commit | 0cd3a46a918d38ac671dd55600fc90fef81ba90f (patch) | |
tree | bc0e203899eebf7d6dd8842d29912da7e2361c30 /gdb-xds.go | |
parent | cd2ac6e38a52aaa1db62597bd95f6f04b7f01409 (diff) |
Fixed list of installed SDKsv1.0.1
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'gdb-xds.go')
-rw-r--r-- | gdb-xds.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -440,7 +440,9 @@ func (g *GdbXds) printProjectsList() (int, error) { fmt.Fprintln(writer, "\nList of installed cross SDKs (use: export XDS_SDK_ID=<< ID >>):") fmt.Fprintln(writer, "ID \t Name") for _, s := range sdks { - fmt.Fprintf(writer, " %s \t %s\n", s.ID, s.Name) + if s.Status == xaapiv1.SdkStatusInstalled { + fmt.Fprintf(writer, " %s \t %s\n", s.ID, s.Name) + } } if len(g.projects) > 0 && len(sdks) > 0 { |