diff --git a/pkg/pillar/cas/containerd.go b/pkg/pillar/cas/containerd.go index ea66b8a0b9..3dc64d681a 100644 --- a/pkg/pillar/cas/containerd.go +++ b/pkg/pillar/cas/containerd.go @@ -927,7 +927,8 @@ func getImageConfig(c *containerdCAS, reference string) (*ocispec.Image, error) imageParentHash, err := c.GetImageHash(reference) if err != nil { err = fmt.Errorf("getImageConfig: exception while fetching reference hash of %s: %s", reference, err.Error()) - + logrus.Errorf(err.Error()) + return nil, err } ctrdCtx, done := c.ctrdClient.CtrNewUserServicesCtx()