mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/yunionio/cloudpods.git
synced 2026-09-20 08:03:53 +08:00
fix: fail to create ceph disk, missing disk credential
This commit is contained in:
@@ -1217,7 +1217,7 @@ func (s *SKVMGuestInstance) DeployFs(ctx context.Context, userCred mcclient.Toke
|
||||
if err != nil {
|
||||
return nil, errors.Wrapf(err, "GetDiskByPath(%s)", diskPath)
|
||||
}
|
||||
diskInfo.Path = diskPath
|
||||
diskInfo.Path = disk.GetPath()
|
||||
return disk.DeployGuestFs(&diskInfo, s.Desc, deployInfo)
|
||||
} else {
|
||||
return nil, fmt.Errorf("Guest dosen't have disk ??")
|
||||
|
||||
Reference in New Issue
Block a user