Convert byte-stream to 'utf-8'
Change-Id: Id0a2140ceca38e3baf0de9d28d392e6b8929d26a Story: 2007977 Task: 40599
This commit is contained in:
parent
d3cc8c1e7d
commit
79dd8cad21
@ -184,7 +184,7 @@ class HTTPCheck(services_checks.ServicesCheck):
|
||||
self._warn_msg.discard(addr)
|
||||
|
||||
done = True
|
||||
return True, content
|
||||
return True, content.decode('utf-8')
|
||||
|
||||
def _check(self, instance):
|
||||
addr = instance.get("url", None)
|
||||
|
Loading…
Reference in New Issue
Block a user