Skip to content

Commit 3f0440b

Browse files
author
Ma Shimiao
committed
config.md: add empty limit for key of annotations
empty key does not make any senses, we should limit it. Signed-off-by: Ma Shimiao <[email protected]>
1 parent ced3365 commit 3f0440b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ The semantics are the same as `Path`, `Args` and `Env` in [golang Cmd](https://g
388388
This information MAY be structured or unstructured.
389389
Annotations MUST be a key-value map where both the key and value MUST be strings.
390390
While the value MUST be present, it MAY be an empty string.
391-
Keys MUST be unique within this map, and best practice is to namespace the keys.
391+
Keys MUST be unique and MUST NOT be an empty string within this map, and best practice is to namespace the keys.
392392
Keys SHOULD be named using a reverse domain notation - e.g. `com.example.myKey`.
393393
Keys using the `org.opencontainers` namespace are reserved and MUST NOT be used by subsequent specifications.
394394
If there are no annotations then this property MAY either be absent or an empty map.

0 commit comments

Comments
 (0)