mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-11-04 08:40:20 +00:00
typo
This commit is contained in:
1 parent
50a18daf05
commit
6b75682bdf
1 file changed
+1
-1
+1
-1
@@ -26,7 +26,7 @@ type AgentConfig struct {
|
||||
v *viper.Viper
|
||||
}
|
||||
|
||||
// Read 从给点的文件目录加载配置文件
|
||||
// Read 从给定的文件目录加载配置文件
|
||||
func (c *AgentConfig) Read(path string) error {
|
||||
c.v = viper.New()
|
||||
c.v.SetConfigFile(path)
|
||||
|
||||
Reference in new issue
Block a user