diff --git a/src/cli/cmd/scheduler.go b/src/cli/cmd/scheduler.go index e5b6608b..30ef972f 100644 --- a/src/cli/cmd/scheduler.go +++ b/src/cli/cmd/scheduler.go @@ -63,6 +63,10 @@ var schedulerDownCmd = &cobra.Command{ } process, err := os.FindProcess(pid) + + // TODO(stevan): catch `os: process already finished` and remove + // pid file and exit 0. (And do the same for logger, or better + // yet factor out this code.) if err != nil { fmt.Printf("%s\n", err) os.Exit(1) diff --git a/src/ldfi/ldfi/__init__.py b/src/ldfi/ldfi/__init__.py index e6557dc6..c2346f4f 100644 --- a/src/ldfi/ldfi/__init__.py +++ b/src/ldfi/ldfi/__init__.py @@ -107,7 +107,7 @@ def load_potential_faults(self, config: Config) -> List[List[Dict]]: def store(self, event: Event): meta = json.dumps({"component": "ldfi", "test-id": event.test_id, - "runid": event.run_id}) + "run-id": event.run_id}) data = json.dumps({"faults": json.loads(event.faults)["faults"], "version": event.version, "statistics": event.statistics})