From fd8755b2c64821992728620f86785af6552adf21 Mon Sep 17 00:00:00 2001 From: naiba Date: Tue, 12 Apr 2022 20:11:19 +0800 Subject: [PATCH] typo --- model/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/config.go b/model/config.go index 947aa769..e7cf6b71 100644 --- a/model/config.go +++ b/model/config.go @@ -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)