[#115] Update sdk version to support priority
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
This commit is contained in:
parent
1bb6c5f384
commit
71e846a4fc
7 changed files with 50 additions and 102 deletions
|
@ -193,6 +193,7 @@ func settings() *viper.Viper {
|
|||
for i := range *peers {
|
||||
v.SetDefault(cfgPeers+"."+strconv.Itoa(i)+".address", (*peers)[i])
|
||||
v.SetDefault(cfgPeers+"."+strconv.Itoa(i)+".weight", 1)
|
||||
v.SetDefault(cfgPeers+"."+strconv.Itoa(i)+".priority", 1)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue