From ac8d7a5c552ca0edbeee0fff940bb22b06674870 Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Wed, 27 May 2015 16:58:12 +0100 Subject: [PATCH] cosmetic: this is somewhat gross, but the last barrier to linter bliss --- ipam/paxos/paxos.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ipam/paxos/paxos.go b/ipam/paxos/paxos.go index 3224b974..a69b91da 100644 --- a/ipam/paxos/paxos.go +++ b/ipam/paxos/paxos.go @@ -117,9 +117,8 @@ func (node *Node) Update(from GossipState) bool { func max(a uint, b uint) uint { if a > b { return a - } else { - return b } + return b } // Initiate a new proposal, i.e. the Paxos "Prepare" step. This is