etcd-tester: fix govet

This commit is contained in:
Gyu-Ho Lee
2016-04-13 10:52:39 -07:00
parent 35d2d7b23e
commit cb280bae91
2 changed files with 13 additions and 12 deletions

View File

@ -208,16 +208,6 @@ type Status struct {
Case int
}
// get gets a copy of status
func (s *Status) get() Status {
s.mu.Lock()
got := *s
cluster := s.cluster
s.mu.Unlock()
got.Cluster = cluster.Status()
return got
}
func (s *Status) setRound(r int) {
s.mu.Lock()
defer s.mu.Unlock()