Skip to content

Commit

Permalink
fix typo and regular expression of algorithim
Browse files Browse the repository at this point in the history
regular expression of algorithim in defs-image.json:
	"pattern": "^[a-z0-9]+:[a-fA-F0-9]+$"
make descriptor.md consistent with it.

Signed-off-by: Deng Guangxing <dengguangxing@huawei.com>
  • Loading branch information
Deng Guangxing committed Sep 8, 2016
1 parent 9a93cca commit af00de0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion descriptor.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ The digest string matches the following grammar:

```
digest := algorithm ":" hex
algorithm := /[A-Fa-f0-9_+.-]+/
algorithm := /[a-z0-9]+/
hex := /[A-Fa-f0-9]+/
```

Expand Down

0 comments on commit af00de0

Please sign in to comment.