diff --git a/object/virtual_disk_manager.go b/object/virtual_disk_manager.go index 6724843e7..0b1a6c5f5 100644 --- a/object/virtual_disk_manager.go +++ b/object/virtual_disk_manager.go @@ -41,7 +41,7 @@ func (m VirtualDiskManager) CopyVirtualDisk( ctx context.Context, sourceName string, sourceDatacenter *Datacenter, destName string, destDatacenter *Datacenter, - destSpec *types.VirtualDiskSpec, force bool) (*Task, error) { + destSpec types.BaseVirtualDiskSpec, force bool) (*Task, error) { req := types.CopyVirtualDisk_Task{ This: m.Reference(),