Skip to content

Commit caf9ad3

Browse files
committed
fix
1 parent 0587c46 commit caf9ad3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/biz/host/usecase/host.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ func (h *HostUsecase) vmSleepConsumer() {
242242
if err := h.taskflow.VirtualMachiner().Hibernate(ctx, &taskflow.HibernateVirtualMachineReq{
243243
HostID: vm.HostID,
244244
UserID: vm.UserID.String(),
245-
ID: vm.ID,
245+
ID: vm.EnvironmentID,
246246
}); err != nil {
247247
return fmt.Errorf("hibernate vm %s: %w", vm.ID, err)
248248
}

0 commit comments

Comments
 (0)