This commit is contained in:
2025-11-22 09:29:40 -08:00
parent fec776b0bf
commit d0b273700a
2 changed files with 2 additions and 2 deletions

View File

@@ -44,7 +44,7 @@ jobs:
- name: Check for changes
id: check_changes
run: |
git add nomad_backup/ consul_backup/
git add nomad_backup/* consul_backup/*
if git diff --staged --quiet; then
echo "changes=false" >> $GITHUB_OUTPUT
echo "No changes to commit"

View File

@@ -142,7 +142,7 @@ class ConsulRestore:
# Restore each key
for file_path in backup_files:
kv_data = self.parse_backup_file(file_path)
kv_data = self.parse_backup_file(file_path, backup_dir)
if not kv_data:
failed_keys.append(str(file_path))
continue