chore: update to go 1.20.3 (#496)
* chore: update to go 1.20.3 * chore: update to go 1.20.3
This commit is contained in:
@ -160,7 +160,7 @@ func (s baseRW) parsePreviousActive() (Config, error) {
|
||||
// ListConfigs decodes configs from io readers
|
||||
func (s baseRW) ListConfigs() (Configs, error) {
|
||||
cfgs := make(Configs)
|
||||
_, err := toml.DecodeReader(s.r, &cfgs)
|
||||
_, err := toml.NewDecoder(s.r).Decode(&cfgs)
|
||||
for n, cfg := range cfgs {
|
||||
cfg.Name = n
|
||||
cfgs[n] = cfg
|
||||
|
Reference in New Issue
Block a user