agent: fix --snapshot-count flag

This commit is contained in:
Gyu-Ho Lee 2017-01-17 12:13:34 -08:00
parent 5b3240f9f2
commit c772127e15
No known key found for this signature in database
GPG Key ID: 1DDD39C7EB70C24C
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ func startEtcd(fs *flags, t *transporterServer) error {
"--name", names[t.req.ServerIndex],
"--data-dir", fs.etcdDataDir,
"--snapshot-count", t.req.EtcdSnapCount,
"--snapshot-count", fmt.Sprintf("%d", t.req.EtcdSnapCount),
"--listen-client-urls", clientURLs[t.req.ServerIndex],
"--advertise-client-urls", clientURLs[t.req.ServerIndex],