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 a7bda72430
commit 8d22f19618

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
}