Skip to content

Commit 6a2ea60

Browse files
committed
Changes due to changes in internal APIs
Signed-off-by: Shmuel Kallner <[email protected]>
1 parent 041e0ca commit 6a2ea60

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cmd/epp/runner/runner.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ func (r *Runner) Run(ctx context.Context) error {
216216
return err
217217
}
218218

219-
err = r.parseConfiguration()
219+
err = r.parseConfiguration(ctx)
220220
if err != nil {
221221
setupLog.Error(err, "Failed to parse the configuration")
222222
return err
@@ -309,14 +309,14 @@ func (r *Runner) initializeScheduler() (*scheduling.Scheduler, error) {
309309
return scheduler, nil
310310
}
311311

312-
func (r *Runner) parseConfiguration() error {
312+
func (r *Runner) parseConfiguration(ctx context.Context) error {
313313
if len(*configText) != 0 || len(*configFile) != 0 {
314314
theConfig, err := loader.LoadConfig([]byte(*configText), *configFile)
315315
if err != nil {
316316
return fmt.Errorf("failed to load the configuration - %w", err)
317317
}
318318

319-
epp := newEppHandle()
319+
epp := newEppHandle(ctx)
320320

321321
err = loader.LoadPluginReferences(theConfig.Plugins, epp)
322322
if err != nil {

0 commit comments

Comments
 (0)