From d295861a7dbdcf8673a280c5cec14ec78903f804 Mon Sep 17 00:00:00 2001 From: Thomas Hobson Date: Sun, 28 Feb 2021 22:18:27 +1300 Subject: [PATCH] repo: dont error if we cannot access piston_api --- repo/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repo/entrypoint.sh b/repo/entrypoint.sh index bd958ab..6f917d7 100755 --- a/repo/entrypoint.sh +++ b/repo/entrypoint.sh @@ -7,4 +7,4 @@ done cd /repo ./mkindex.sh -curl -s http://piston_api:6969/repos -XPOST -d "slug=local&url=file:///repo/index.yaml" +curl -s http://piston_api:6969/repos -XPOST -d "slug=local&url=file:///repo/index.yaml" || echo "WARNING: Could not add repository"