bug: Remove duplicated list of upgradable releases (#688)

* Remove duplicated list of upgradable releases

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>

* Make list output consistent

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
This commit is contained in:
Mauro Morales
2023-01-19 22:16:13 +01:00
committed by Itxaka
parent 704cff80d2
commit 1a9104c121

View File

@@ -2,7 +2,6 @@ package utils
import (
"encoding/json"
"fmt"
"math/rand"
"strings"
"time"
@@ -33,9 +32,6 @@ func ListOutput(rels []string, output string) []string {
d, _ := json.Marshal(rels)
return []string{string(d)}
default:
for _, r := range rels {
fmt.Println(r)
}
return rels
}
}