Fix typo that meant modules were missing from image

fix #1393 thanks @deitch

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack 2017-04-05 13:23:18 +01:00
parent 3e8e557cda
commit f3a58b04f2

View File

@ -194,7 +194,7 @@ func untarKernel(buf *bytes.Buffer, bzimageName, ktarName string) (*bytes.Buffer
}
case ktarName:
ktar = new(bytes.Buffer)
_, err := io.Copy(bzimage, tr)
_, err := io.Copy(ktar, tr)
if err != nil {
return nil, nil, err
}