Skip to content

Commit

Permalink
tiny clean
Browse files Browse the repository at this point in the history
  • Loading branch information
nolouch committed May 16, 2017
1 parent 1d4e19b commit 1dbbe65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@ func newRaftCluster(s *Server, clusterID uint64) *RaftCluster {

func (c *RaftCluster) loadClusterStatus() error {
status := &RaftClusterStatus{}
time, err := c.s.kv.getClusterBootstrapTime()
t, err := c.s.kv.getClusterBootstrapTime()
if err != nil {
return errors.Trace(err)
}
status.BootstrapTime = time
status.BootstrapTime = t
c.status = status
return nil
}
Expand Down

0 comments on commit 1dbbe65

Please sign in to comment.