summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2018-01-22 18:10:09 +0100
committerSebastien Douheret <sebastien.douheret@iot.bzh>2018-01-22 18:10:09 +0100
commit93f0511c5e5a215d27025510cf430c49ecf506cc (patch)
tree2681b77c919608640615f79a984c9c98de0af5fc
parentc4e3978f95620d7286e64079d8b877bc76c0b47d (diff)
List "Installing" sdks by default.
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
-rw-r--r--cmd-sdks.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd-sdks.go b/cmd-sdks.go
index 4bc5a73..066e1dd 100644
--- a/cmd-sdks.go
+++ b/cmd-sdks.go
@@ -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 != "" {