Skip to content

Commit e6a431f

Browse files
authored
Merge pull request #277 from wking/solidify-serialization-rootfs-type
serialization: Require 'layers' for rootfs.type
2 parents cddf362 + 1948a30 commit e6a431f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

serialization.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,8 @@ Note: whitespace has been added to this example for clarity. Whitespace is OPTIO
300300

301301
<ul>
302302
<li>
303-
<code>type</code> is usually set to <code>layers</code>.
303+
<code>type</code> which MUST be set to <code>layers</code>.
304+
Implementations MUST generate an error if they encounter a unknown value while verifying or unpacking an image.
304305
</li>
305306
<li>
306307
<code>diff_ids</code> is an array of layer content hashes (<code>DiffIDs</code>), in order from bottom-most to top-most.

0 commit comments

Comments
 (0)