fixed tls ca
This commit is contained in:
parent
41027fa380
commit
59d44932a4
2 changed files with 3 additions and 14 deletions
|
|
@ -21,6 +21,7 @@ func ParseFile(file string) (cfg *Config, err error) {
|
|||
if err != nil {
|
||||
return
|
||||
}
|
||||
defer f.Close()
|
||||
cfg = new(Config)
|
||||
err = yaml.NewDecoder(f).Decode(cfg)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue