jsonconfig: remove useless type conversion

Change-Id: I271ca5f619dcd7d6cdee3dc40b68dd6c5eb318d8
This commit is contained in:
Jingguo Yao 2014-10-28 10:44:01 +08:00
parent b73e1f6269
commit 674deb7280
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ func (jc Obj) obj(key string, optional bool) Obj {
jc.appendError(fmt.Errorf("Expected config key %q to be an object, not %T", key, ei))
return make(Obj)
}
return Obj(m)
return m
}
func (jc Obj) RequiredString(key string) string {