Navigation Menu

Skip to content

Commit

Permalink
Follow droonga-client gem change
Browse files Browse the repository at this point in the history
Fluent protocol values, tag and time, were removed because they are
needless information for Droonga users.
  • Loading branch information
kou committed Apr 10, 2014
1 parent 0b90af2 commit e6863af
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions lib/drntest/response-normalizer.rb
Expand Up @@ -24,17 +24,11 @@ def normalize
return @response if @response.nil?

normalized_response = @response.dup
normalize_fluent_message!(normalized_response)
normalize_droonga_message!(normalized_response[2])
normalize_droonga_message!(normalized_response)
normalized_response
end

private
def normalize_fluent_message!(fluent_message)
normalized_start_time = 0
fluent_message[1] = normalized_start_time
end

def normalize_droonga_message!(droonga_message)
normalize_droonga_message_envelope!(droonga_message)
normalize_droonga_message_body!(droonga_message["body"])
Expand Down

0 comments on commit e6863af

Please sign in to comment.