Browse files

fixed bug with resource discovery

  • Loading branch information...
1 parent b3f6114 commit 3fe75565308cea8d0585ff457732865d4e9b4993 @outerim outerim committed Jun 28, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/actors/herault.rb
View
2 examples/actors/herault.rb
@@ -48,7 +48,7 @@ def identities_for(operation, need_resources)
if need_resources.empty? && !resources
ident
elsif resources
- need_resources & resources ? ident : nil
+ (need_resources & resources).empty? ? nil : ident
else
nil
end

0 comments on commit 3fe7556

Please sign in to comment.