1
0
mirror of https://github.com/rancher/os.git synced 2025-09-08 18:20:32 +00:00

Fix installation and trim packages

This commit is contained in:
Darren Shepherd
2021-11-03 22:06:12 -07:00
parent 85e1eb9320
commit f35b3697c3
11 changed files with 167 additions and 43 deletions

View File

@@ -67,7 +67,12 @@ func (h *handler) OnChange(mos *provv1.ManagedOSImage, status provv1.ManagedOSIm
return nil, status, err
}
resources, err := ToResources(objects(mos, prefix))
objs, err := objects(mos, prefix)
if err != nil {
return nil, status, err
}
resources, err := ToResources(objs)
if err != nil {
return nil, status, err
}