mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
This function was fundamentally buggy, as a panic could be trivially triggered by setting the wrong environment variable (e.g. ETCD_BIND_ADDR=foo). Instead, let's propagate the error and present it to the user in a cleaner way.