Fixed problem where baseline would always be shown
This commit is contained in:
parent
f8c6c0d493
commit
1f8c18babe
1 changed files with 2 additions and 2 deletions
|
@ -39,6 +39,6 @@ class Headers():
|
|||
print "\tApp time: %s" % headers['apptime'].split('=')[1]
|
||||
print "\tApp server: %s" % headers['appserver']
|
||||
|
||||
if headers['proxytime'].split('=')[1] > baseline:
|
||||
print "\t%s Proxy Time slower than baseline %s > %s" % (WARNING, headers['proxytime'].split('=')[1], baseline)
|
||||
if int(headers['proxytime'].split('=')[1]) > baseline:
|
||||
print "\t%s Proxy Time longer than baseline %s > %s" % (WARNING, headers['proxytime'].split('=')[1], baseline)
|
||||
return (WARNING, headers['proxytime'].split('=')[1])
|
Loading…
Add table
Add a link
Reference in a new issue