Permalink
Browse files

Merge pull request #689 from estonfer/master

fix a typo in the vsphere vm_clone.rb file
  • Loading branch information...
jeffmccune committed Jan 10, 2012
2 parents 598b031 + 4ed540b commit 4cbaaf0e2e4b8ea89e032d01cb503bb348f21816
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 4cbaaf0

Please sign in to comment.