Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
G
gpucloudsim
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LPDS
gpucloudsim
Commits
ec259845
Commit
ec259845
authored
Oct 03, 2013
by
Nikolay
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed an error in the previous commit.
parent
4075c6b2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
DatacenterBroker.java
...src/main/java/org/cloudbus/cloudsim/DatacenterBroker.java
+4
-2
No files found.
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/DatacenterBroker.java
View file @
ec259845
...
...
@@ -347,9 +347,11 @@ public class DatacenterBroker extends SimEntity {
vm
=
getVmsCreatedList
().
get
(
vmIndex
);
}
else
{
// submit to the specific vm
vm
=
VmList
.
getById
(
getVmsCreatedList
(),
cloudlet
.
getVmId
());
if
(
vm
==
null
&&
!
Log
.
isDisabled
())
{
// vm was not created
Log
.
printConcatLine
(
CloudSim
.
clock
(),
": "
,
getName
(),
": Postponing execution of cloudlet "
,
if
(
vm
==
null
)
{
// vm was not created
if
(!
Log
.
isDisabled
())
{
Log
.
printConcatLine
(
CloudSim
.
clock
(),
": "
,
getName
(),
": Postponing execution of cloudlet "
,
cloudlet
.
getCloudletId
(),
": bount VM not available"
);
}
continue
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment