Skip to content

Commit

Permalink
#2300: scripts: lower verbosity
Browse files Browse the repository at this point in the history
  • Loading branch information
cz4rs committed Jul 11, 2024
1 parent b160528 commit 9f2b87b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/JSON_data_files_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
3 changes: 1 addition & 2 deletions scripts/check_lb_data_files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9f2b87b

Please sign in to comment.