Permalink
Browse files

fix Folder#inventory ManagedEntity key check

  • Loading branch information...
1 parent fe358bb commit c6967f0fc9d0720e59ddeb25f7e0704755246d1d Rich Lane committed Nov 11, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rbvmomi/vim/Folder.rb
@@ -114,7 +114,7 @@ def inventory propSpecs={}
propSpecs.each do |k,v|
case k
when Class
- fail "key must be a subclass of ManagedEntity" unless k > RbVmomi::VIM::ManagedEntity
+ fail "key must be a subclass of ManagedEntity" unless k < RbVmomi::VIM::ManagedEntity
k = k.wsdl_name
when Symbol, String
k = k.to_s

0 comments on commit c6967f0

Please sign in to comment.