mirror of
https://github.com/kairos-io/kairos-agent.git
synced 2025-09-18 16:06:58 +00:00
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:
@@ -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
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user