This is an automated email from the ASF dual-hosted git repository.

bdoyle pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk.git


The following commit(s) were added to refs/heads/master by this push:
     new 21b03a570 fix scheduling config loading wrong config (#5255)
21b03a570 is described below

commit 21b03a57019d9cc3ba80917534edbd4bb19b607a
Author: Brendan Doyle <[email protected]>
AuthorDate: Wed Jun 1 09:56:25 2022 -0700

    fix scheduling config loading wrong config (#5255)
    
    Co-authored-by: Brendan Doyle <[email protected]>
---
 .../src/main/scala/org/apache/openwhisk/core/scheduler/Scheduler.scala  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/core/scheduler/src/main/scala/org/apache/openwhisk/core/scheduler/Scheduler.scala
 
b/core/scheduler/src/main/scala/org/apache/openwhisk/core/scheduler/Scheduler.scala
index 84643c270..32aff4e34 100644
--- 
a/core/scheduler/src/main/scala/org/apache/openwhisk/core/scheduler/Scheduler.scala
+++ 
b/core/scheduler/src/main/scala/org/apache/openwhisk/core/scheduler/Scheduler.scala
@@ -70,7 +70,7 @@ class Scheduler(schedulerId: SchedulerInstanceId, 
schedulerEndpoints: SchedulerE
   val leaseService =
     actorSystem.actorOf(LeaseKeepAliveService.props(etcdClient, schedulerId, 
watcherService))
 
-  val schedulingConfig = 
loadConfigOrThrow[SchedulingConfig](ConfigKeys.schedulerQueue)
+  val schedulingConfig = 
loadConfigOrThrow[SchedulingConfig](ConfigKeys.schedulerScheduling)
 
   implicit val entityStore = WhiskEntityStore.datastore()
   private val activationStore =

Reply via email to