From 9f2b87b8023bc0f858c9dc11531913999064ead0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cezary=20Skrzy=C5=84ski?= Date: Thu, 4 Jul 2024 22:14:08 +0200 Subject: [PATCH] #2300: scripts: lower verbosity --- scripts/JSON_data_files_validator.py | 2 +- scripts/check_lb_data_files.sh | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/JSON_data_files_validator.py b/scripts/JSON_data_files_validator.py index 5f9f23fd91..cfffda0443 100644 --- a/scripts/JSON_data_files_validator.py +++ b/scripts/JSON_data_files_validator.py @@ -469,7 +469,7 @@ def __validate_file(file_path, validate_comm_links): logging.warning(f"Schema type not found in file: {file_path}. \nPassing by default when schema type not found.") if validate_comm_links: - logging.error("FIXME: comm_links validation not implemented.") + logging.info("FIXME: comm_links validation not implemented.") def main(self): diff --git a/scripts/check_lb_data_files.sh b/scripts/check_lb_data_files.sh index 426dfd49d8..6832fa7905 100755 --- a/scripts/check_lb_data_files.sh +++ b/scripts/check_lb_data_files.sh @@ -10,10 +10,9 @@ set +x function run_schema_validator() { file=$1 - echo "Running schema validator on: $file" if python3 "${path_to_vt_src_dir}/scripts/JSON_data_files_validator.py" --file_path="$file" --validate_comm_links then - echo "Valid file" + echo "Valid JSON schema in $file" else >&2 echo "Invalid schema in $file.. exiting" exit 1;