We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0587c46 commit caf9ad3Copy full SHA for caf9ad3
backend/biz/host/usecase/host.go
@@ -242,7 +242,7 @@ func (h *HostUsecase) vmSleepConsumer() {
242
if err := h.taskflow.VirtualMachiner().Hibernate(ctx, &taskflow.HibernateVirtualMachineReq{
243
HostID: vm.HostID,
244
UserID: vm.UserID.String(),
245
- ID: vm.ID,
+ ID: vm.EnvironmentID,
246
}); err != nil {
247
return fmt.Errorf("hibernate vm %s: %w", vm.ID, err)
248
}
0 commit comments