Fix logrus formatting
This fix tries to fix logrus formatting by removing `f` from `logrus.[Error|Warn|Debug|Fatal|Panic|Info]f` when formatting string is not present. This fix fixes #23459. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>master
							parent
							
								
									08426ad10d
								
							
						
					
					
						commit
						a58c74303c
					
				|  | @ -302,10 +302,10 @@ func (r *Session) GetRemoteImageLayer(imgID, registry string, imgSize int64) (io | |||
| 	} | ||||
| 
 | ||||
| 	if res.Header.Get("Accept-Ranges") == "bytes" && imgSize > 0 { | ||||
| 		logrus.Debugf("server supports resume") | ||||
| 		logrus.Debug("server supports resume") | ||||
| 		return httputils.ResumableRequestReaderWithInitialResponse(r.client, req, 5, imgSize, res), nil | ||||
| 	} | ||||
| 	logrus.Debugf("server doesn't support resume") | ||||
| 	logrus.Debug("server doesn't support resume") | ||||
| 	return res.Body, nil | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue