mirror of
https://github.com/kairos-io/kairos-agent.git
synced 2025-06-03 01:44:53 +00:00
Return image from bus when one exists
it was accidentally returning "nil" Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
This commit is contained in:
parent
e0dfc79ed5
commit
48fc6180cf
@ -99,7 +99,7 @@ func determineUpgradeImage(version string) (*v1.ImageSource, error) {
|
||||
}
|
||||
|
||||
if img != "" {
|
||||
return nil, nil
|
||||
return v1.NewSrcFromURI(img)
|
||||
}
|
||||
|
||||
registry, err := utils.OSRelease("IMAGE_REPO")
|
||||
|
Loading…
Reference in New Issue
Block a user