Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public Set<DependentResourceNode> getTopLevelDependentResources() {
return topLevelResources;
}

public Set<DependentResourceNode> getBottomLevelResource() {
public Set<DependentResourceNode> getBottomLevelDependentResources() {
return bottomLevelResource;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ class WorkflowCleanupExecutor<P extends HasMetadata> extends AbstractWorkflowExe
}

public synchronized WorkflowCleanupResult cleanup() {
for (DependentResourceNode dependentResourceNode : workflow.getBottomLevelResource()) {
for (DependentResourceNode dependentResourceNode : workflow
.getBottomLevelDependentResources()) {
handleCleanup(dependentResourceNode);
}
waitForScheduledExecutionsToRun();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void calculatesBottomLevelResources() {
.buildAsDefaultWorkflow();

Set<DependentResource> bottomResources =
workflow.getBottomLevelResource().stream()
workflow.getBottomLevelDependentResources().stream()
.map(DependentResourceNode::getDependentResource)
.collect(Collectors.toSet());

Expand Down