mirror of
https://github.com/kairos-io/kairos-agent.git
synced 2025-09-13 13:10:22 +00:00
Return if no releases
We dont fail out as if there is not newer releases we dont really care? Signed-off-by: Itxaka <itxaka@kairos.io>
This commit is contained in:
4
main.go
4
main.go
@@ -161,6 +161,10 @@ See https://kairos.io/docs/upgrade/manual/ for documentation.
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if len(tags) == 0 {
|
||||
fmt.Println("No newer releases found")
|
||||
return nil
|
||||
}
|
||||
|
||||
if c.Bool("recovery") && c.String("boot-entry") != "" {
|
||||
return fmt.Errorf("only one of '--recovery' and '--boot-entry' can be set")
|
||||
|
Reference in New Issue
Block a user