From a6ae958be744865864b16f9614a5ed64599a6bff Mon Sep 17 00:00:00 2001 From: James Shubin Date: Fri, 7 Oct 2016 15:59:53 -0400 Subject: [PATCH] etcd: Fix type issue I was lazy and pushed the previous fix too quickly. Sorry, fixed now! --- etcd/etcd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etcd/etcd.go b/etcd/etcd.go index 5b9b6bc7..8fcef9dd 100644 --- a/etcd/etcd.go +++ b/etcd/etcd.go @@ -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 }