From 78ae649d2615a7620706987ab3afdd7c760bc950 Mon Sep 17 00:00:00 2001 From: tx7do Date: Thu, 26 Oct 2023 18:37:04 +0800 Subject: [PATCH] fix: stupid bug. --- config.go | 4 ++-- tag.bat | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config.go b/config.go index 4cdad20..cea54b9 100644 --- a/config.go +++ b/config.go @@ -128,7 +128,7 @@ func LoadBootstrapConfig(configPath string) error { initBootstrapConfig() - for c := range configList { + for _, c := range configList { if err := cfg.Scan(c); err != nil { return err } @@ -175,7 +175,7 @@ func LoadRemoteConfigSourceConfigs(configPath string) (error, *conf.RemoteConfig initBootstrapConfig() - for c := range configList { + for _, c := range configList { if err = cfg.Scan(c); err != nil { return err, nil } diff --git a/tag.bat b/tag.bat index faf226d..3ee41dc 100644 --- a/tag.bat +++ b/tag.bat @@ -1,3 +1,3 @@ -git tag v0.2.3 +git tag v0.2.4 git push origin --tags \ No newline at end of file