Skip to content

Commit f55f04a

Browse files
author
gitlab
committed
Merge branch 'fix/ZSTAC-81354' into '5.5.12'
<fix>[compute]: respect vm.migrationQuantity during host maintenance See merge request zstackio/zstack!9209
2 parents bf1d8ea + 16f5890 commit f55f04a

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

compute/src/main/java/org/zstack/compute/host/HostBase.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -411,9 +411,8 @@ public void run(final FlowTrigger trigger, Map data) {
411411
if (ordered != null) {
412412
vmUuids = ordered;
413413

414-
logger.debug(String.format("%s ordered VMs for host maintenance, to keep the order, we will migrate VMs one by one",
415-
ext.getClass()));
416-
migrateQuantity = 1;
414+
logger.debug(String.format("%s ordered VMs for host maintenance, migrate quantity: %d",
415+
ext.getClass(), migrateQuantity));
417416
}
418417
}
419418

0 commit comments

Comments
 (0)