def ttl_fail(self, check_id, notes=None):
                """
                Mark a ttl based check as failing. Optional notes can be
                attached to describe why check is failing. The status of the
                check will be set to critical and the ttl clock will be reset.
                """
                params = {}
                if notes:
                    params['note'] = notes

                return self.agent.http.get(
                    lambda x: x.code == 200,
                    check_id % '/v1/agent/check/fail/%s',
                    params=params)
dataset/ETHPy150Open cablehead/python-consul/consul/base.py/Consul.Agent.Check.ttl_fail/swapped operands of `%`