Skip to content

Commit

Permalink
add 2 extra filter str to float
Browse files Browse the repository at this point in the history
  • Loading branch information
bitonio committed May 13, 2021
1 parent 24a853b commit 843d354
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libeaa/eventlog.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ def userlog_prepjson(d):
d['status_code'] = int(d['status_code'])
if isfloat(d.get('total_resp_time')):
d['total_resp_time'] = float(d['total_resp_time'])
if isfloat(d.get('connector_resp_time')):
d['connector_resp_time'] = float(d['connector_resp_time'])
if isfloat(d.get('origin_resp_time')):
d['origin_resp_time'] = float(d['origin_resp_time'])
return d

def get_api_url(self, logtype):
Expand Down

0 comments on commit 843d354

Please sign in to comment.