etcd: Fix type issue

I was lazy and pushed the previous fix too quickly. Sorry, fixed now!
This commit is contained in:
James Shubin
2016-10-07 15:59:53 -04:00
parent 312103ef1b
commit a6ae958be7

View File

@@ -1409,7 +1409,7 @@ func (obj *EmbdEtcd) nominateCallback(re *RE) error {
obj.nominated, // other peer members and urls or empty map obj.nominated, // other peer members and urls or empty map
) )
if err != nil { if err != nil {
retries := 0 var retries uint
if re != nil { if re != nil {
retries = re.retries retries = re.retries
} }