List "Installing" sdks by default.
authorSebastien Douheret <sebastien.douheret@iot.bzh>
Mon, 22 Jan 2018 17:10:09 +0000 (18:10 +0100)
committerSebastien Douheret <sebastien.douheret@iot.bzh>
Mon, 22 Jan 2018 17:10:09 +0000 (18:10 +0100)
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
cmd-sdks.go

index 4bc5a73..066e1dd 100644 (file)
@@ -156,7 +156,9 @@ func _displaySdks(sdks []xaapiv1.SDK, verbose bool, all bool, filter string) {
        first := true
        writer := NewTableWriter()
        for _, s := range sdks {
-               if s.Status != xaapiv1.SdkStatusInstalled && !all {
+               if s.Status != xaapiv1.SdkStatusInstalled &&
+                       s.Status != xaapiv1.SdkStatusInstalling &&
+                       !all {
                        continue
                }
                if filter != "" {