Skip to content

Commit

Permalink
Add more comments for the codes
Browse files Browse the repository at this point in the history
  • Loading branch information
LinuxSuRen committed May 31, 2019
1 parent 8f4dcf3 commit 8e47453
Showing 1 changed file with 1 addition and 4 deletions.
Expand Up @@ -53,7 +53,7 @@ public boolean shouldSchedule(Queue.Task p, List<Action> actions) {
}

if(triggerFromJenkins(actions)) {
// in case of triggered by users
// in case of triggered by users or triggers
WorkflowJob workflowJob = (WorkflowJob) p;
String taskName = p.getName();

Expand Down Expand Up @@ -141,9 +141,6 @@ public boolean shouldSchedule(Queue.Task p, List<Action> actions) {
} else {
LOGGER.fine(() -> "Get null CauseAction in task : " + taskName);
}

// we already create k8s resource, and waiting next round
// return false;
}

return true;
Expand Down

0 comments on commit 8e47453

Please sign in to comment.