mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00

Since syscall.Errno implements net.Error and all cases are matched sequentially, it's a mistake to put syscall.Errno case after net.Error since it will never be executed. This change swaps syscall.Errno case with net.Error to give that clause chance to execute.