mirror of
https://github.com/rancher/os.git
synced 2025-08-31 22:32:14 +00:00
Fix boot issues due to invalid configs
This commit is contained in:
@@ -80,10 +80,7 @@ func (s *Service) shouldRebuild(ctx context.Context) (bool, error) {
|
||||
if err != nil {
|
||||
return false, err
|
||||
}
|
||||
cfg, err := config.LoadConfig()
|
||||
if err != nil {
|
||||
return false, err
|
||||
}
|
||||
cfg := config.LoadConfig()
|
||||
for _, c := range containers {
|
||||
outOfSync, err := c.(*docker.Container).OutOfSync(ctx, s.Service.Config().Image)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user