diff options
Diffstat (limited to 'docs/how-to/migration-scripts/40-classify-actions.sh')
| -rwxr-xr-x | docs/how-to/migration-scripts/40-classify-actions.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/how-to/migration-scripts/40-classify-actions.sh b/docs/how-to/migration-scripts/40-classify-actions.sh index 81559aa..b1348f8 100755 --- a/docs/how-to/migration-scripts/40-classify-actions.sh +++ b/docs/how-to/migration-scripts/40-classify-actions.sh | |||
| @@ -165,7 +165,7 @@ if [[ -f "$LOGS_DIR/purgatory-expired.txt" ]]; then | |||
| 165 | [[ "$repo" =~ ^# ]] && continue | 165 | [[ "$repo" =~ ^# ]] && continue |
| 166 | [[ -z "$repo" || -z "$npub" ]] && continue | 166 | [[ -z "$repo" || -z "$npub" ]] && continue |
| 167 | PURGATORY["$repo|$npub"]=1 | 167 | PURGATORY["$repo|$npub"]=1 |
| 168 | ((PURGATORY_COUNT++)) | 168 | PURGATORY_COUNT=$((PURGATORY_COUNT + 1)) |
| 169 | done < "$LOGS_DIR/purgatory-expired.txt" | 169 | done < "$LOGS_DIR/purgatory-expired.txt" |
| 170 | fi | 170 | fi |
| 171 | log_info "Loaded $PURGATORY_COUNT purgatory entries" | 171 | log_info "Loaded $PURGATORY_COUNT purgatory entries" |
| @@ -180,7 +180,7 @@ if [[ -f "$LOGS_DIR/parse-failures.txt" ]]; then | |||
| 180 | [[ "$event_id" =~ ^# ]] && continue | 180 | [[ "$event_id" =~ ^# ]] && continue |
| 181 | [[ -z "$repo" || -z "$npub" ]] && continue | 181 | [[ -z "$repo" || -z "$npub" ]] && continue |
| 182 | PARSE_FAIL["$repo|$npub"]=1 | 182 | PARSE_FAIL["$repo|$npub"]=1 |
| 183 | ((PARSE_FAIL_COUNT++)) | 183 | PARSE_FAIL_COUNT=$((PARSE_FAIL_COUNT + 1)) |
| 184 | done < "$LOGS_DIR/parse-failures.txt" | 184 | done < "$LOGS_DIR/parse-failures.txt" |
| 185 | fi | 185 | fi |
| 186 | log_info "Loaded $PARSE_FAIL_COUNT parse failure entries" | 186 | log_info "Loaded $PARSE_FAIL_COUNT parse failure entries" |