mirror of
https://github.com/project-zot/zot.git
synced 2026-06-16 04:17:55 +08:00
refactor(cli): remove old cli commands (#1756)
Signed-off-by: Laurentiu Niculae <niculae.laurentiu1@gmail.com>
This commit is contained in:
@@ -84,10 +84,12 @@ function teardown_file() {
|
||||
run curl http://127.0.0.1:8080/v2/golang/tags/list
|
||||
[ "$status" -eq 0 ]
|
||||
[ $(echo "${lines[-1]}" | jq '.tags[]') = '"1.20"' ]
|
||||
run ${ZLI_PATH} cve ${REGISTRY_NAME} -I golang:1.20
|
||||
run ${ZLI_PATH} cve list golang:1.20 --config ${REGISTRY_NAME}
|
||||
[ "$status" -eq 0 ]
|
||||
|
||||
found=0
|
||||
echo ${lines[@]}
|
||||
|
||||
found=0
|
||||
for i in "${lines[@]}"
|
||||
do
|
||||
|
||||
|
||||
Reference in New Issue
Block a user