mod: Try and update things

No idea why things break. go.mod sucks.
This commit is contained in:
James Shubin
2023-11-27 20:05:01 -05:00
parent e727e7adb6
commit dad3458ece
5 changed files with 175 additions and 55 deletions

View File

@@ -141,10 +141,10 @@ func (obj *EmbdEtcd) runServer(newCluster bool, peerURLsMap etcdtypes.URLsMap) (
cfg := embed.NewConfig()
cfg.Name = memberName // hostname
cfg.Dir = dataDir
cfg.LPUrls = peerURLs
cfg.LCUrls = obj.ClientURLs
cfg.APUrls = aPUrls
cfg.ACUrls = aCUrls
cfg.ListenPeerUrls = peerURLs
cfg.ListenClientUrls = obj.ClientURLs
cfg.AdvertisePeerUrls = aPUrls
cfg.AdvertiseClientUrls = aCUrls
cfg.StrictReconfigCheck = false // XXX: workaround https://github.com/etcd-io/etcd/issues/6305
cfg.MaxTxnOps = DefaultMaxTxnOps
cfg.Logger = "zap"