process: Use registry collector for V1 data (#1814)

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
This commit is contained in:
Jan-Otto Kröpke
2024-12-21 22:58:47 +01:00
committed by GitHub
parent 39c929eefe
commit a9f8b3b722
158 changed files with 7793 additions and 7748 deletions

View File

@@ -57,13 +57,13 @@ func (s *ScheduleService) Connect() error {
return err
}
s.taskServiceObj = s.taskSchedulerObj.MustQueryInterface(ole.IID_IDispatch)
s.taskService, err = oleutil.CallMethod(s.taskServiceObj, "Connect")
if err != nil {
return fmt.Errorf("failed to connect to task service: %w", err)
}
s.taskServiceObj = s.taskSchedulerObj.MustQueryInterface(ole.IID_IDispatch)
return nil
}