From 9941ac27dafbbe71b46f01199de613d2b5e57073 Mon Sep 17 00:00:00 2001 From: Tino Vazquez Date: Mon, 18 Mar 2019 18:59:20 +0100 Subject: [PATCH] Fix typo --- src/vmm_mad/remotes/lib/vcenter_driver/vm_template.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vmm_mad/remotes/lib/vcenter_driver/vm_template.rb b/src/vmm_mad/remotes/lib/vcenter_driver/vm_template.rb index 011f94c516..8c8d8035df 100644 --- a/src/vmm_mad/remotes/lib/vcenter_driver/vm_template.rb +++ b/src/vmm_mad/remotes/lib/vcenter_driver/vm_template.rb @@ -630,7 +630,7 @@ class Template RbVmomi::VIM::VirtualEthernetCardDistributedVirtualPortBackingInfo if device.backing.is_a? vim_eth_dist_class - if device.backint.port.portKey && + if device.backing.port.portKey && device.backing.port.portKey.match(/^[a-z]+-\d+$/) ref = device.backing.port.portKey elsif device.backing.port.portgroupKey &&