From 854df814d91a3555b37889a5d441fcff7e699b23 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Sat, 5 Jun 2021 12:19:41 +0800 Subject: [PATCH] script/ceph-debug-docker: s/x86_64/$(arch)/ try to avoid hardwiring to a certain architecture if possible. Signed-off-by: Kefu Chai --- src/script/ceph-debug-docker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/script/ceph-debug-docker.sh b/src/script/ceph-debug-docker.sh index cd99519fbac..f73c23e71ff 100755 --- a/src/script/ceph-debug-docker.sh +++ b/src/script/ceph-debug-docker.sh @@ -85,7 +85,7 @@ function main { T=$(mktemp -d) pushd "$T" distro="${env/://}" - api_url="https://shaman.ceph.com/api/search/?status=ready&project=ceph&flavor=${FLAVOR}&distros=${distro}/x86_64&ref=${branch}&sha1=${sha}" + api_url="https://shaman.ceph.com/api/search/?status=ready&project=ceph&flavor=${FLAVOR}&distros=${distro}/$(arch)&ref=${branch}&sha1=${sha}" repo_url="$(wget -O - "$api_url" | jq -r '.[0].chacra_url')repo" # validate url: wget -O /dev/null "$repo_url" -- 2.39.5