mirror of https://github.com/etcd-io/dbtester.git
agent: fix --snapshot-count flag
This commit is contained in:
parent
5b3240f9f2
commit
c772127e15
|
|
@ -48,7 +48,7 @@ func startEtcd(fs *flags, t *transporterServer) error {
|
||||||
"--name", names[t.req.ServerIndex],
|
"--name", names[t.req.ServerIndex],
|
||||||
"--data-dir", fs.etcdDataDir,
|
"--data-dir", fs.etcdDataDir,
|
||||||
|
|
||||||
"--snapshot-count", t.req.EtcdSnapCount,
|
"--snapshot-count", fmt.Sprintf("%d", t.req.EtcdSnapCount),
|
||||||
|
|
||||||
"--listen-client-urls", clientURLs[t.req.ServerIndex],
|
"--listen-client-urls", clientURLs[t.req.ServerIndex],
|
||||||
"--advertise-client-urls", clientURLs[t.req.ServerIndex],
|
"--advertise-client-urls", clientURLs[t.req.ServerIndex],
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue