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:
@@ -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)]
|
||||
|
||||
Reference in New Issue
Block a user