Skip to content

Commit

Permalink
fix a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
cciis2013 committed Dec 14, 2014
1 parent d04b510 commit e27b3f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/org/workflowsim/WorkflowDatacenter.java
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ private void register(Cloudlet cl) {
int destination = (int) (random.nextDouble() * (double) Parameters.getVmNum());
FileStageOutMessage message = new FileStageOutMessage(destination, vmId, file.getName());
double delay = calculateDataTransferDelay(file, userId, vmId, vm);
send(userId, delay, WorkflowSimTags.FILE_STAGE_OUT, message);
send(this.getId(), delay, WorkflowSimTags.FILE_STAGE_OUT, message);
}
break;
}
Expand Down

0 comments on commit e27b3f2

Please sign in to comment.