Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com>
unclejack authored on 2017/03/16 01:03:33... | ... |
@@ -41,9 +41,6 @@ func UnpackLayer(dest string, layer io.Reader, options *TarOptions) (size int64, |
41 | 41 |
aufsTempdir := "" |
42 | 42 |
aufsHardlinks := make(map[string]*tar.Header) |
43 | 43 |
|
44 |
- if options == nil { |
|
45 |
- options = &TarOptions{} |
|
46 |
- } |
|
47 | 44 |
// Iterate through the files in the archive. |
48 | 45 |
for { |
49 | 46 |
hdr, err := tr.Next() |