From 31f736b37ef269d5b534b3fe20e9d21c16d12726 Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Tue, 26 Jan 2016 18:13:29 +0000 Subject: [PATCH] fix errors spotted by usage analysis --- ipam/ring/ring.go | 6 +----- ipam/space/space_test.go | 2 +- prog/plugin/main.go | 3 --- 3 files changed, 2 insertions(+), 9 deletions(-) diff --git a/ipam/ring/ring.go b/ipam/ring/ring.go index adc9e87b..1f2c7790 100644 --- a/ipam/ring/ring.go +++ b/ipam/ring/ring.go @@ -447,10 +447,7 @@ func (ws weightedPeers) Swap(i, j int) { ws[i], ws[j] = ws[j], ws[i] } // ChoosePeersToAskForSpace returns all peers we can ask for space in // the range [start, end), in weighted-random order. Assumes start