From 3fec41b9115dc10bc9624c634826b5973aab6c63 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Tue, 18 Mar 2014 22:32:29 -0700 Subject: [PATCH] remove unnecessary code --- go/storage/store.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/go/storage/store.go b/go/storage/store.go index e1babd1e5..664328b17 100644 --- a/go/storage/store.go +++ b/go/storage/store.go @@ -47,9 +47,6 @@ func (mn *MasterNodes) findMaster() (string, error) { } } } - if len(mn.nodes) == 1 { - return mn.nodes[0], nil - } if mn.lastNode < 0 { return "", errors.New("No master node avalable!") }