From b77ea21a2092975c930f4f233caee8a727316ab3 Mon Sep 17 00:00:00 2001 From: Michael Steiner Date: Mon, 8 Apr 2024 11:21:27 -0700 Subject: [PATCH] Minor changes * Make script PDO_LOG_LEVEL aware * Remove unnecessary env check which leads to misleading ERROR messages when running no-config docker Signed-off-by: Michael Steiner --- common/crypto/verify_ias_report/fetch_ias_certificates.sh | 1 - eservice/bin/register-with-ledger.sh | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/common/crypto/verify_ias_report/fetch_ias_certificates.sh b/common/crypto/verify_ias_report/fetch_ias_certificates.sh index 3ab8e5bf..f9c51c62 100755 --- a/common/crypto/verify_ias_report/fetch_ias_certificates.sh +++ b/common/crypto/verify_ias_report/fetch_ias_certificates.sh @@ -23,7 +23,6 @@ # ----------------------------------------------------------------- # ----------------------------------------------------------------- source ${PDO_SOURCE_ROOT}/bin/lib/common.sh -check_pdo_build_env IAS_CERTIFICATE_URL=$1 diff --git a/eservice/bin/register-with-ledger.sh b/eservice/bin/register-with-ledger.sh index d2432057..dd65bc01 100755 --- a/eservice/bin/register-with-ledger.sh +++ b/eservice/bin/register-with-ledger.sh @@ -54,7 +54,7 @@ function Store { yell PDO_FORCE_IAS_PROXY is true NO_PROXY='' no_proxy='' try eservice-enclave-info \ --save ${eservice_enclave_info_file} \ - --loglevel info \ + --loglevel ${PDO_LOG_LEVEL} \ --logfile __screen__ \ --identity ${ESERVICE_IDENTITY} \ --config ${ESERVICE_TOML} \ @@ -62,7 +62,7 @@ function Store { else try eservice-enclave-info \ --save ${eservice_enclave_info_file} \ - --loglevel info \ + --loglevel ${PDO_LOG_LEVEL} \ --logfile __screen__ \ --identity ${ESERVICE_IDENTITY} \ --config ${ESERVICE_TOML} \