fix(sync): ping func should not try to read response body (#1757)

closes: #1703

Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
This commit is contained in:
peusebiu
2023-09-13 20:00:51 +03:00
committed by GitHub
parent 3518941d6d
commit 3dbaf2b3ff
10 changed files with 45 additions and 34 deletions
+2 -2
View File
@@ -54,7 +54,7 @@ function setup_file() {
"registries": [
{
"urls": [
"https://docker.io/library"
"https://index.docker.io"
],
"content": [
{
@@ -330,7 +330,7 @@ function teardown_file() {
[ $(echo "${lines[-1]}" | jq '.tags[]') = '"v2.0.0-rc5"' ]
}
@test "run docker with image synced from docker.io/library" {
@test "run docker with image synced from docker.io" {
local zot_root_dir=${BATS_FILE_TMPDIR}/zot
run rm -rf ${zot_root_dir}
[ "$status" -eq 0 ]