Reduce metric writes and preserve scheduler history
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@ fi
|
||||
|
||||
mkdir -p "$CONFIG" "$ROOT_PREFIX/run/urbm" "$ROOT_PREFIX/var/lib/urbm"
|
||||
if [ -d "$OLD_CONFIG" ]; then
|
||||
for item in config.json runs.json backup-metrics.json secrets; do
|
||||
for item in config.json runs.json backup-metrics.json backup-metrics.jsonl secrets; do
|
||||
if [ -e "$OLD_CONFIG/$item" ] && [ ! -e "$CONFIG/$item" ]; then
|
||||
cp -a "$OLD_CONFIG/$item" "$CONFIG/$item"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user