Project

General

Profile

« Previous | Next » 

Revision 2eaae89a

Added by Marc Dequènes almost 14 years ago

  • ID 2eaae89add92b09872b6398b6a40883ae6d61b0a

[fix] Protocol: typo leading to error result not detected

View differences:

lib/cyborghood/cyborg/botnet/protocol.rb
def process_request_result(result)
# TODO: better processing of result (info/warnings/…)
if result[:error]
if result[:errors]
send_error_action(result[:reply_message], result[:errors])
else
send_reply_result(result[:reply_message], result[:results])

Also available in: Unified diff