diff --git a/store/stats.go b/store/stats.go index 0f0199ee2..15b71e06e 100644 --- a/store/stats.go +++ b/store/stats.go @@ -6,21 +6,20 @@ import ( type EtcdStats struct { // Number of get requests - Gets uint64 `json:"gets"` + Gets uint64 `json:"gets"` // Number of sets requests - Sets uint64 `json:"sets"` + Sets uint64 `json:"sets"` // Number of delete requests Deletes uint64 `json:"deletes"` // Number of testAndSet requests TestAndSets uint64 `json:"testAndSets"` - } // Stats returns the basic statistics information of etcd storage func (s *Store) Stats() []byte { b, _ := json.Marshal(s.BasicStats) return b -} \ No newline at end of file +} diff --git a/store/store.go b/store/store.go index de0134618..de891e04b 100644 --- a/store/store.go +++ b/store/store.go @@ -555,4 +555,3 @@ func (s *Store) checkNode(key string, node *Node) { } } } -