etcd: Fix type issue
I was lazy and pushed the previous fix too quickly. Sorry, fixed now!
This commit is contained in:
@@ -1409,7 +1409,7 @@ func (obj *EmbdEtcd) nominateCallback(re *RE) error {
|
||||
obj.nominated, // other peer members and urls or empty map
|
||||
)
|
||||
if err != nil {
|
||||
retries := 0
|
||||
var retries uint
|
||||
if re != nil {
|
||||
retries = re.retries
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user