Skip to content

Commit

Permalink
Fix up tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Stucki committed Jun 12, 2020
1 parent bacbc0f commit 00b41c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packetbeat/protos/nfs/request_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,5 +198,6 @@ func (r *rpc) handleReply(xid string, xdr *xdr, ts time.Time, tcptuple *common.T
} else {
nfs.pbf.Event.Outcome = "failure"
}
r.results(nfs.event)
}
}
2 changes: 1 addition & 1 deletion packetbeat/protos/redis/redis.go
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ func (redis *redisPlugin) newTransaction(requ, resp *redisMessage) beat.Event {
fields["response"] = resp.message
}

pbf.Event.Action = "redis." + strings.ToLower(fields["method"].(string))
pbf.Event.Action = "redis." + strings.ToLower(string(requ.method))
if resp.isError {
pbf.Event.Outcome = "failure"
}
Expand Down

0 comments on commit 00b41c3

Please sign in to comment.