update README and misc files

This commit is contained in:
2021-05-24 00:11:58 +03:00
parent 6c24b7f833
commit 2f484824fb
4 changed files with 8 additions and 5 deletions

View File

@@ -229,7 +229,10 @@ func whiteoutDirs(whreaddir map[string]int, nlayers int) []*tree {
}
// validateManifest
func validateManifest(layerOffsets map[string]int64, manifest dockerManifestJSON) error {
func validateManifest(
layerOffsets map[string]int64,
manifest dockerManifestJSON,
) error {
if len(manifest) == 0 {
return fmt.Errorf("empty or missing manifest")
}