Skip to content
This repository has been archived by the owner on Feb 26, 2023. It is now read-only.

Commit

Permalink
Do not check for tlp if check_tlp is not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyaglow committed Apr 26, 2018
1 parent cf56fb8 commit f29a251
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ func NewInput() (*JobInput, error) {

v, err := in.Config.GetBool("check_tlp")
if err != nil {
return nil, err
return in, nil // if check_tlp is not found do not check for it
}

if v && !in.allowedTLP() {
Expand Down

0 comments on commit f29a251

Please sign in to comment.