Skip to content

Commit

Permalink
disable trust engine lookup on missing token (#5196)
Browse files Browse the repository at this point in the history
  • Loading branch information
Googlom authored Dec 2, 2024
1 parent 6d22b09 commit 53838c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/config/trustengine.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func (c *Config) setTrustEngineConfiguration(hookConfig map[string]interface{})
}

if len(c.trustEngineConfiguration.Token) == 0 {
log.Entry().Debug("no Trust Engine token found")
return errors.New("no Trust Engine token found and envvar is empty")
}
return nil
}
Expand Down

0 comments on commit 53838c0

Please sign in to comment.