1
0
Fork 0

Correct variable assignment order

master
Philip O'Toole 1 year ago committed by GitHub
parent b5eec7ccd8
commit be17f2a3cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -862,7 +862,7 @@ func (s *Store) Stats() (map[string]interface{}, error) {
if err != nil { if err != nil {
return nil, err return nil, err
} }
leaderID, leaderAddr := s.LeaderWithID() leaderAddr, leaderID := s.LeaderWithID()
// Perform type-conversion to actual numbers where possible. // Perform type-conversion to actual numbers where possible.
raftStats := make(map[string]interface{}) raftStats := make(map[string]interface{})

Loading…
Cancel
Save