more tests
This commit is contained in:
parent
2e095270f5
commit
234f524a0e
7 changed files with 161 additions and 4 deletions
|
|
@ -14,6 +14,7 @@ func NewAgentConfig() *AgentConfig {
|
|||
viper.SetConfigType("json")
|
||||
viper.AddConfigPath("/etc/")
|
||||
viper.AddConfigPath(".")
|
||||
viper.AddConfigPath("../.")
|
||||
err := viper.ReadInConfig()
|
||||
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue