Convert byte-stream to 'utf-8'

Change-Id: Id0a2140ceca38e3baf0de9d28d392e6b8929d26a
Story: 2007977
Task: 40599
This commit is contained in:
bandorf 2020-08-06 16:04:30 +02:00 committed by Martin Chacon Piza
parent d3cc8c1e7d
commit 79dd8cad21

View File

@ -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)