Commit e0250e28 authored by Mariano Fevola's avatar Mariano Fevola

Fix typo

parent 3d629e73
...@@ -300,7 +300,7 @@ func (c *IniConfigContainer) GetSection(section string) (map[string]string, erro ...@@ -300,7 +300,7 @@ func (c *IniConfigContainer) GetSection(section string) (map[string]string, erro
if v, ok := c.data[section]; ok { if v, ok := c.data[section]; ok {
return v, nil return v, nil
} }
return nil, errors.New("not exist setction") return nil, errors.New("not exist section")
} }
// SaveConfigFile save the config into file. // SaveConfigFile save the config into file.
......
...@@ -252,7 +252,7 @@ func (c *ConfigContainer) GetSection(section string) (map[string]string, error) ...@@ -252,7 +252,7 @@ func (c *ConfigContainer) GetSection(section string) (map[string]string, error)
if v, ok := c.data[section]; ok { if v, ok := c.data[section]; ok {
return v.(map[string]string), nil return v.(map[string]string), nil
} }
return nil, errors.New("not exist setction") return nil, errors.New("not exist section")
} }
// SaveConfigFile save the config into file // SaveConfigFile save the config into file
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment