test/cases/oci: improve CI output

Avoid error message where this is no error.
This commit is contained in:
Florian Schüller 2025-06-04 15:52:55 +02:00 committed by Florian Schüller
parent 1d45104575
commit f0d39d986f
2 changed files with 4 additions and 2 deletions

View file

@ -38,7 +38,7 @@ region=${OCI_REGION}
EOF
function installClient() {
if ! hash oci; then
if ! hash oci 2>/dev/null; then
echo "Using 'oci' from a container"
sudo "${CONTAINER_RUNTIME}" pull "${CONTAINER_IMAGE_CLOUD_TOOLS}"