mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
gofmt
This commit is contained in:
parent
434b0045db
commit
d3649d3254
@ -1,8 +1,8 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"time"
|
||||
"fmt"
|
||||
"time"
|
||||
)
|
||||
|
||||
type snapshotConf struct {
|
||||
@ -15,7 +15,7 @@ type snapshotConf struct {
|
||||
var snapConf *snapshotConf
|
||||
|
||||
func newSnapshotConf() *snapshotConf {
|
||||
return &snapshotConf {time.Second*3, etcdStore.TotalWrites(), 20*1000}
|
||||
return &snapshotConf{time.Second * 3, etcdStore.TotalWrites(), 20 * 1000}
|
||||
}
|
||||
|
||||
func monitorSnapshot() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user