ctlv3: remove superfluous session creation

This commit is contained in:
Anthony Romano 2016-09-14 16:23:44 -07:00
parent 9b1fe45853
commit 82af0c4a7d

View File

@ -114,11 +114,6 @@ func campaign(c *clientv3.Client, election string, prop string) error {
close(donec)
}()
s, serr := concurrency.NewSession(c)
if serr != nil {
return serr
}
if err = e.Campaign(ctx, prop); err != nil {
return err
}