Browse Source

remove unnecessary code

pull/2/head
Chris Lu 11 years ago
parent
commit
3fec41b911
  1. 3
      go/storage/store.go

3
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!")
}

Loading…
Cancel
Save