Commit 9d0ad3f9 authored by fuxiaohei's avatar fuxiaohei

code style simplify

parent 9457e61a
...@@ -214,7 +214,7 @@ func (c *IniConfigContainer) getdata(key string) string { ...@@ -214,7 +214,7 @@ func (c *IniConfigContainer) getdata(key string) string {
k = sectionKey[0] k = sectionKey[0]
} }
if v, ok := c.data[section]; ok { if v, ok := c.data[section]; ok {
if vv, ok2 := v[k]; ok2 { if vv, ok := v[k]; ok {
return vv return vv
} }
} }
......
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