Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #689 from estonfer/master

fix a typo in the vsphere vm_clone.rb file
  • Loading branch information...
commit 4cbaaf0e2e4b8ea89e032d01cb503bb348f21816 2 parents 598b031 + 4ed540b
@jeffmccune jeffmccune authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/fog/vsphere/requests/compute/vm_clone.rb
View
2  lib/fog/vsphere/requests/compute/vm_clone.rb
@@ -41,7 +41,7 @@ def vm_clone(options = {})
template_dc = path_elements.shift
# If the first path element contains "vm" this denotes the vmFolder
# and needs to be shifted out
- path_elements.shift if path_elements[0] = 'vm'
+ path_elements.shift if path_elements[0] == 'vm'
# The template name. The remaining elements are the folders in the
# datacenter.
template_name = path_elements.pop
Please sign in to comment.
Something went wrong with that request. Please try again.