Skip to content

Commit

Permalink
[FLINK-14720] Bring down ExecutionVertex#deployToSlot access modifier…
Browse files Browse the repository at this point in the history
… and mark it with @VisibleForTesting annotation
  • Loading branch information
yanghua authored and azagrebin committed Nov 19, 2019
1 parent ad531f0 commit 7201206
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,7 @@ public void deploy() throws JobException {
currentExecution.deploy();
}

@VisibleForTesting
public void deployToSlot(LogicalSlot slot) throws JobException {
if (currentExecution.tryAssignResource(slot)) {
currentExecution.deploy();
Expand Down

0 comments on commit 7201206

Please sign in to comment.