Use GossipAddress() helper

This commit is contained in:
Cody Soyland 2018-06-28 13:20:57 -05:00
parent 824474160e
commit 4f3cf9af30

View file

@ -179,7 +179,7 @@ func (c Cluster) Start() error {
if err := cc.Start(); err != nil {
return errors.Wrapf(err, "starting server %d", i)
}
gossipSeeds[i] = cc.GossipTransport().URI.String()
gossipSeeds[i] = cc.GossipAddress()
}
return nil
}