Skip to content

Commit 260eb50

Browse files
committed
review
1 parent b68bfd6 commit 260eb50

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

xdmod/historical/add-historical.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ if [ -f $historicaldir/.hasrun ]; then
1111
fi
1212
touch $historicaldir/.hasrun
1313
tar -zxf $historicaldir/historical-data.tgz -C $historicaldir/
14-
jq --argfile f1 /etc/xdmod/resources.json --argfile f2 $historicaldir/resources.json -n '$f1 + $f2' | sudo tee /etc/xdmod/resources.json
15-
jq --argfile f1 /etc/xdmod/resource_specs.json --argfile f2 $historicaldir/resource_specs.json -n '$f1 + $f2' | sudo tee /etc/xdmod/resource_specs.json
14+
jq --argfile f1 /etc/xdmod/resources.json --argfile f2 $historicaldir/resources.json -n '$f1 + $f2' | tee /etc/xdmod/resources.json
15+
jq --argfile f1 /etc/xdmod/resource_specs.json --argfile f2 $historicaldir/resource_specs.json -n '$f1 + $f2' | tee /etc/xdmod/resource_specs.json
1616
types='Cloud Jobs Storage'
1717
for resource in $historicaldir/Jobs/*.log; do
1818
sudo -u xdmod xdmod-shredder -r `basename $resource .log` -f slurm -i $resource;

0 commit comments

Comments
 (0)