lib/legion/extensions/health/transport/messages/watchdog.rb in lex-health-0.1.1 vs lib/legion/extensions/health/transport/messages/watchdog.rb in lex-health-0.1.2

- old
+ new

@@ -6,15 +6,9 @@ def expiration 5000 end - # def message - # hash = { hostname: Socket.gethostname, pid: Process.pid, timestamp: Time.now } - # hash[:status] = @options[:status].nil? ? 'healthy' : @options[:status] - # hash - # end - def validate raise 'status should be a string' unless @options[:status].is_a?(String) || @options[:status].nil? @valid = true end