mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-19 10:46:58 +08:00
fix(esxi): Remove 'Destory' operation that is unnecessary for VirtualDiskManager
This commit is contained in:
@@ -694,7 +694,6 @@ func (self *SDatastore) GetVmdkInfo(ctx context.Context, remotePath string) (*vm
|
||||
|
||||
func (self *SDatastore) CheckVmdk(ctx context.Context, remotePath string) error {
|
||||
dm := object.NewVirtualDiskManager(self.manager.client.Client)
|
||||
defer dm.Destroy(ctx)
|
||||
|
||||
dc, err := self.GetDatacenter()
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user