lib/poolparty/monitor.rb in auser-poolparty-1.3.10 vs lib/poolparty/monitor.rb in auser-poolparty-1.3.11
- old
+ new
@@ -25,10 +25,10 @@
vote_for(:expand) if c > 0.8
configure if c < 0.1
end
EOE
raise PoolPartyError.create("MonitorDefinitionError", msg) unless block
- @name = monitor_name
+ @name = monitor_name.to_sym
@monitor_block = block
end
# Run the block given with the monitor
# with the given values on run. Clear the methods
\ No newline at end of file