mirror of
https://github.com/kairos-io/kairos-agent.git
synced 2025-09-19 17:25:01 +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 (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"fmt"
|
|
||||||
"math/rand"
|
"math/rand"
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
@@ -33,9 +32,6 @@ func ListOutput(rels []string, output string) []string {
|
|||||||
d, _ := json.Marshal(rels)
|
d, _ := json.Marshal(rels)
|
||||||
return []string{string(d)}
|
return []string{string(d)}
|
||||||
default:
|
default:
|
||||||
for _, r := range rels {
|
|
||||||
fmt.Println(r)
|
|
||||||
}
|
|
||||||
return rels
|
return rels
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user