mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
store: remove another unused function
This commit is contained in:
parent
1fa763b47b
commit
5c4edf65f9
@ -91,10 +91,6 @@ func (s *Stats) toJson() []byte {
|
|||||||
return b
|
return b
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *Stats) TotalReads() uint64 {
|
|
||||||
return s.GetSuccess + s.GetFail
|
|
||||||
}
|
|
||||||
|
|
||||||
func (s *Stats) Inc(field int) {
|
func (s *Stats) Inc(field int) {
|
||||||
switch field {
|
switch field {
|
||||||
case SetSuccess:
|
case SetSuccess:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user