Fix misspelled variable name
Change-Id: Ied6ed3cad16e9797df73a05f3df3ac9cc64299e0
This commit is contained in:
parent
28ac46ded3
commit
71a20d04cc
@ -492,10 +492,10 @@ class StatsdClient(object):
|
||||
return self.timing(metric, (time.time() - orig_time) * 1000,
|
||||
sample_rate)
|
||||
|
||||
def transfer_rate(self, metric, elasped_time, byte_xfer, sample_rate=None):
|
||||
def transfer_rate(self, metric, elapsed_time, byte_xfer, sample_rate=None):
|
||||
if byte_xfer:
|
||||
return self.timing(metric,
|
||||
elasped_time * 1000 / byte_xfer * 1000,
|
||||
elapsed_time * 1000 / byte_xfer * 1000,
|
||||
sample_rate)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user