From 75f04cae51fcd468020cb3a8d3dbd43f421a1c60 Mon Sep 17 00:00:00 2001 From: Qiu Jian Date: Wed, 12 Dec 2018 19:55:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=EF=BC=9Aprepaid=20recycle=20?= =?UTF-8?q?host=E7=9A=84storage=20driver=E8=AE=BE=E7=BD=AE=E4=B8=BALinux?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/compute/models/host_recycle.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/compute/models/host_recycle.go b/pkg/compute/models/host_recycle.go index f50af5820c..4b2284df4a 100644 --- a/pkg/compute/models/host_recycle.go +++ b/pkg/compute/models/host_recycle.go @@ -108,7 +108,7 @@ func (self *SGuest) doPrepaidRecycleNoLock(ctx context.Context, userCred mcclien info.Size = int64(disk.DiskSize) info.Index = int64(i) info.Slot = i - info.Driver = storage.StorageType + info.Driver = baremetal.DISK_DRIVER_LINUX info.Rotate = (storage.MediumType != DISK_TYPE_SSD) storageInfo = append(storageInfo, info)