Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
Signed-off-by: chrismark <[email protected]>
  • Loading branch information
ChrsMark committed Apr 1, 2021
1 parent 7551ef5 commit e47bb5a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions x-pack/elastic-agent/pkg/agent/transpiler/vars.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,8 @@ func (v *Vars) lookupNode(name string) (Node, bool) {
fval, found := fetchProvider.Fetch(name)
if found {
return &StrVal{value: fval}, true
} else {
return &StrVal{value: ""}, false
}
return &StrVal{value: ""}, false
}
}
// lookup in the AST tree
Expand Down

0 comments on commit e47bb5a

Please sign in to comment.