jplana / python-etcd

A python client for etcd
Other
523 stars 210 forks source link

reset some_request_failed to False on each iteration of the loop #153

Closed CyberDem0n closed 7 years ago

CyberDem0n commented 8 years ago

otherwise we could get into the situation when the first request has failed, then _machines_cache has been updated and request executed successfully and it will try to update _machines_cache once again.

this pull request addresses https://github.com/jplana/python-etcd/issues/152