Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ederson.brilhante committed Jul 6, 2016
2 parents e96a55d + cc68286 commit 7a64e54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions networkapi/plugins/F5/monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ def prepare_template(self, **kwargs):

hr = kwargs['healthcheck'][i]['healthcheck_request']
if kwargs['healthcheck'][i]['healthcheck_type'] in ['HTTP', 'HTTPS']:
healthcheck_request = hr[0:-4] + \
hr[-4:].replace('\r', '').replace('\n', '') + '\r\n\r\n'
healthcheck_request = hr[0:-8] + \
hr[-8:].replace("\\r", '').replace("\\n", '') + "\\r\\n\\r\\n"
else:
healthcheck_request = hr

Expand Down

0 comments on commit 7a64e54

Please sign in to comment.