Skip to content

Commit 9dc04fc

Browse files
authored
Simple fix for issue #420 (#421)
Supplement missing default configuration Co-authored-by: 无别 <62596032+Tiper-In-Github@users.noreply.github.com>
1 parent ae70432 commit 9dc04fc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/config/viper_config.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ func (c *Config) fillDefaultValues() {
8888
"pitaya.cluster.rpc.server.nats.buffer.push": pitayaConfig.Cluster.RPC.Server.Nats.Buffer.Push,
8989
"pitaya.cluster.sd.etcd.dialtimeout": pitayaConfig.Cluster.SD.Etcd.DialTimeout,
9090
"pitaya.cluster.sd.etcd.endpoints": pitayaConfig.Cluster.SD.Etcd.Endpoints,
91+
"pitaya.cluster.sd.etcd.user": pitayaConfig.Cluster.SD.Etcd.User,
92+
"pitaya.cluster.sd.etcd.pass": pitayaConfig.Cluster.SD.Etcd.Pass,
9193
"pitaya.cluster.sd.etcd.prefix": pitayaConfig.Cluster.SD.Etcd.Prefix,
9294
"pitaya.cluster.sd.etcd.grantlease.maxretries": pitayaConfig.Cluster.SD.Etcd.GrantLease.MaxRetries,
9395
"pitaya.cluster.sd.etcd.grantlease.retryinterval": pitayaConfig.Cluster.SD.Etcd.GrantLease.RetryInterval,

0 commit comments

Comments
 (0)