1
0
mirror of https://github.com/rancher/os.git synced 2025-07-05 19:16:13 +00:00

Remove this 'missing image error' because it confuses users

This commit is contained in:
niusmallnan 2018-12-26 17:54:58 +08:00
parent 9a1e00f9d2
commit f4253cc064

View File

@ -56,9 +56,6 @@ func (s *Service) missingImage() bool {
} }
client := s.context.ClientFactory.Create(s) client := s.context.ClientFactory.Create(s)
_, _, err := client.ImageInspectWithRaw(context.Background(), image, false) _, _, err := client.ImageInspectWithRaw(context.Background(), image, false)
if err != nil {
log.Errorf("Missing the image: %v", err)
}
return err != nil return err != nil
} }