daemon/archive_unix.go
Method Daemon.containerExtractToDir
has 10 return statements (exceeds 4 allowed). Open
Open
func (daemon *Daemon) containerExtractToDir(container *container.Container, path string, copyUIDGID, noOverwriteDirNonDir bool, content io.Reader) (err error) {
container.Lock()
defer container.Unlock()
cfs, err := daemon.openContainerFS(container)
Method Daemon.containerArchivePath
has 5 return statements (exceeds 4 allowed). Open
Open
func (daemon *Daemon) containerArchivePath(container *container.Container, path string) (content io.ReadCloser, stat *containertypes.PathStat, err error) {
container.Lock()
defer func() {
if err != nil {