async def post_heartbeat(self, msg, _context):
        """Update the status of a service."""

        name = msg.get('name')

        await self.service_manager.send_heartbeat(name)
Update the status of a service.