1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/layer
Aaron Lehmann 1c05c65f6f Close tarsplit gzip writer when creating tar-split.json.gz files during layer migration
There is a missing call to Close on the gzip.Writer that is used to
compress newly created tar-split files during layer migration. This can
result in corrupt tar-split files that later cause docker push and
docker save to fail. The Close call is necessary to flush buffered data
to the stream.

Fixes: #20104

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2016-02-18 10:55:38 -08:00
..
empty.go
empty_test.go
filestore.go Add more robust error handling on layer store creation 2016-01-19 11:17:08 -08:00
filestore_test.go Update code to compile against new manifest interface 2016-01-08 17:24:20 -08:00
layer.go Update code to compile against new manifest interface 2016-01-08 17:24:20 -08:00
layer_store.go Add more robust error handling on layer store creation 2016-01-19 11:17:08 -08:00
layer_test.go Windows CI UnitTest TestLayerSize-->Unix 2016-02-10 13:57:26 -08:00
layer_unix.go Refactor RWLayer to use referenced object instead of string 2015-12-23 11:19:17 -08:00
layer_unix_test.go Windows CI UnitTest TestLayerSize-->Unix 2016-02-10 13:57:26 -08:00
layer_windows.go Update code to compile against new manifest interface 2016-01-08 17:24:20 -08:00
migration.go Close tarsplit gzip writer when creating tar-split.json.gz files during layer migration 2016-02-18 10:55:38 -08:00
migration_test.go Parallel migration and optimizations 2016-01-04 09:48:52 -08:00
mount_test.go Refactor RWLayer to use referenced object instead of string 2015-12-23 11:19:17 -08:00
mounted_layer.go Refactor RWLayer to use referenced object instead of string 2015-12-23 11:19:17 -08:00
ro_layer.go Parallel migration and optimizations 2016-01-04 09:48:52 -08:00