Bug Add pull source as info level log
BZ:
This BZ needs change the log level of the image pull location from the debug to info.
Crio could use SystemContext.DockerLogPullSource to log the image source if it's from a mirror.
@@ -104,6 +104,7 @@ func (s *Server) PullImage(ctx context.Context, req *types.PullImageRequest) (*t
func (s *Server) pullImage(ctx context.Context, pullArgs *pullArguments) (string, error) {
var err error
sourceCtx := *s.config.SystemContext // A shallow copy we can modify
+ sourceCtx.DockerLogMirrorChoice = true // Add info level log of the pull source
if pullArgs.credentials.Username != "" {
sourceCtx.DockerAuthConfig = &pullArgs.credentials
}
