Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
iph0 committed Apr 10, 2024
1 parent b7ddbaf commit 6e31467
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions conf.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,7 @@ func (p *Processor) preprocess(layer any) (any, error) {
return nil, err
}

p.root = lyr

err = p.walk(p.root,
err = p.walk(lyr,
func(nodePtr *reflect.Value) error {
node, err := p.applyInclude(*nodePtr)

Expand Down Expand Up @@ -278,7 +276,7 @@ func (p *Processor) process(config any) (any, error) {

p.root = conf

err = p.walk(p.root,
err = p.walk(conf,
func(nodePtr *reflect.Value) error {
node, err := p.applyDirectives(*nodePtr)

Expand Down

0 comments on commit 6e31467

Please sign in to comment.