Skip to content

Commit

Permalink
remove the test comment
Browse files Browse the repository at this point in the history
  • Loading branch information
xgfone committed May 15, 2020
1 parent 3081416 commit 8f6ac29
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions config.go
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,6 @@ func (c *Config) parseMap(g *OptGroup, m map[string]interface{},
var ms map[string]interface{}

for key, value := range m {
// fmt.Printf("@@@@@ %s: %#v\n", key, value)
switch m := value.(type) {
case map[string]interface{}:
if _g := g.Group(key); _g != nil {
Expand Down Expand Up @@ -475,7 +474,6 @@ func (c *Config) parseMap(g *OptGroup, m map[string]interface{},

func (c *Config) loadMap(opts []groupOptValue, force bool) {
for _, opt := range opts {
// fmt.Println("------", opt.Group.name, opt.Name, opt.Value)
if force || opt.Group.HasOptAndIsNotSet(opt.Name) {
opt.Group.setOptWithLock(opt.Name, opt.Value)
}
Expand Down

0 comments on commit 8f6ac29

Please sign in to comment.