Xiang Li 12 years ago
parent
commit
4a5abf1ab8
2 changed files with 3 additions and 5 deletions
  1. 3 4
      store/stats.go
  2. 0 1
      store/store.go

+ 3 - 4
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
-}
+}

+ 0 - 1
store/store.go

@@ -555,4 +555,3 @@ func (s *Store) checkNode(key string, node *Node) {
 		}
 	}
 }
-