From 58070a34b74e3a0bc2216dd50d9919cfe904cd1e Mon Sep 17 00:00:00 2001 From: John Davis Date: Sun, 20 Oct 2024 14:04:04 -0400 Subject: [PATCH] Check and assign variable before using it --- parts/26-report.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/parts/26-report.sh b/parts/26-report.sh index 1018fc8f..0f71bb52 100644 --- a/parts/26-report.sh +++ b/parts/26-report.sh @@ -568,6 +568,9 @@ report_data-info(){ ##? [object_store_config_file]: Information about Disk path | /data/dnb06/galaxy_db/files/4/2/8/dataset_428d0c0095a54c1a8248e9e0937f376f.dat EOF + assert_count $# 1 "Missing Dataset ID or UUID" + arg_data_id=$1 + # Metada read -r -d '' qstr <<-EOF SELECT DISTINCT d.id,