mirror of
https://github.com/fluxcd/flux2.git
synced 2026-04-26 13:28:50 +00:00
Support shortening of revision with digest
The `\b` in the regular expression ensures we only match with a hexadecimal notation as awhole, while still allowing to match with e.g. `sha1:...` which would not have been possible by using `\W` as this includes `_`. Signed-off-by: Hidde Beydals <hello@hidde.co>
This commit is contained in:
parent
ae9728685c
commit
bb6a7b8f07
10 changed files with 172 additions and 25 deletions
4
cmd/flux/testdata/oci/get_oci.golden
vendored
4
cmd/flux/testdata/oci/get_oci.golden
vendored
|
|
@ -1,2 +1,2 @@
|
|||
NAME REVISION SUSPENDED READY MESSAGE
|
||||
thrfg 6.1.6/dbdb109711ffb3be77504d2670dbe13c24dd63d8d7f1fb489d350e5bfe930dd3 False True stored artifact for digest '6.1.6/dbdb109711ffb3be77504d2670dbe13c24dd63d8d7f1fb489d350e5bfe930dd3'
|
||||
NAME REVISION SUSPENDED READY MESSAGE
|
||||
thrfg 6.1.6/dbdb1097 False True stored artifact for digest '6.1.6/dbdb1097'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue