Browse Source

remove underscore variable name in section

pull/16/head
Brett Langdon 11 years ago
parent
commit
87e4b85253
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      section.go

+ 2
- 2
section.go View File

@ -216,11 +216,11 @@ func (section *Section) Resolve(name string) (Value, error) {
return value, errors.New("Trying to resolve value from non-section") return value, errors.New("Trying to resolve value from non-section")
} }
next_current, err := current.(*Section).Get(part)
nextCurrent, err := current.(*Section).Get(part)
if err != nil { if err != nil {
return value, errors.New("Could not find value in section") return value, errors.New("Could not find value in section")
} }
current = next_current
current = nextCurrent
} }
return current, nil return current, nil
} }


Loading…
Cancel
Save