Skip to content

Commit c6826ef

Browse files
authored
Remove unused call to viper.AllKeys in Parser.UnmarshalExact (#2939)
1 parent d6a0f9a commit c6826ef

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

config/parser.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ func (l *Parser) Unmarshal(rawVal interface{}) error {
9090

9191
// UnmarshalExact unmarshals the config into a struct, erroring if a field is nonexistent.
9292
func (l *Parser) UnmarshalExact(intoCfg interface{}) error {
93-
l.v.AllKeys()
9493
return l.v.UnmarshalExact(intoCfg)
9594
}
9695

0 commit comments

Comments
 (0)