daemon/logger/loggerutils/sharedtemp.go
Method sharedTempFileConverter.convert
has 6 return statements (exceeds 4 allowed). Open
Open
func (c *sharedTempFileConverter) convert(f *os.File) (converted *os.File, size int64, err error) {
dst, err := os.CreateTemp(c.TempDir, "dockerdtemp.*")
if err != nil {
return nil, 0, err
}