coreos/etcd — pull request #1730 by babo (2014-11-16 14:39:38+00:00)
Title: etcdserver: initialise ServerStats with leader name if available, fixes  #561

When starting an EtcdServer set leader name in ServerStats if a leader already defined in LeaderStats. On a single machine cluster there are no AppendRequest calls to set leader name, while the machine is an active leader stats shows a default string as leader name. With this fix the name is correctly set.

Fixes #561