restic: the night process is judged by its unit; the module has no runtime account for a tool check to stand beside (issue 1955)

This commit is contained in:
2026-10-29 23:46:56 +01:00
parent 03938f8244
commit ce8ea7bbe2
2 changed files with 2 additions and 7 deletions
@@ -263,7 +263,7 @@ func TestTheManifestRunsTheNightJudgedByItsHealthTool(t *testing.T) {
}
env := m.Build.Artifacts[0].Env
want := map[string]struct{ run, kind, tool string }{
"night": {"night", "tool", "backup_health"},
"night": {"night", "unit", ""},
}
for _, r := range m.Resources {
w, ok := want[r["id"].(string)]