gansheer commented on code in PR #5157:
URL: https://github.com/apache/camel-k/pull/5157#discussion_r1491195320


##########
pkg/controller/build/schedule.go:
##########
@@ -59,28 +59,33 @@ func (action *scheduleAction) Handle(ctx context.Context, 
build *v1.Build) (*v1.
        action.lock.Lock()
        defer action.lock.Unlock()
 
-       if allowed, err := action.buildMonitor.canSchedule(ctx, action.reader, 
build); err != nil {
+       allowed, schedulingCondition, err := 
action.buildMonitor.canSchedule(ctx, action.reader, build)
+
+       if err != nil {
                return nil, err
        } else if !allowed {
+               action.L.Infof("GFO %s Build not allowed", build.Name)

Review Comment:
   :sweat_smile: that's what happens when you forget `git add`...



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to