cmd/gate: fix gosimple suggestion
cmd/gate/app-settings.go:108:36 gosimple S1019: should use make(map[string]float64) instead
This commit is contained in:
parent
e15159443b
commit
7ce5b3392f
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ var ignore = map[string]struct{}{
|
|||
func (empty) Read([]byte) (int, error) { return 0, io.EOF }
|
||||
|
||||
func fetchPeers(l *zap.Logger, v *viper.Viper) map[string]float64 {
|
||||
peers := make(map[string]float64, 0)
|
||||
peers := make(map[string]float64)
|
||||
|
||||
for i := 0; ; i++ {
|
||||
|
||||
|
|
Loading…
Reference in a new issue