mirror of
https://github.com/nezhahq/nezha.git
synced 2025-01-22 12:48:14 -05:00
typo
This commit is contained in:
parent
50a18daf05
commit
6b75682bdf
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user