File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
cmd/vulnerability-db-consumer Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -99,15 +99,19 @@ func main() {
9999// we can get rid of SNS and multi implementations of notifier and just use Kafka.
100100func buildNotifier (conf * config , logger * log.Logger ) (notify.Notifier , error ) {
101101 if ! conf .SNS .Enabled && ! conf .Kafka .Enabled {
102+ logger .Info ("using noop notifier" )
102103 return notify .NewNoopNotifier (), nil
103104 }
104105 if conf .SNS .Enabled && ! conf .Kafka .Enabled {
106+ logger .Info ("using SNS notifier" )
105107 return buildSNSNotifier (conf , logger )
106108 }
107109 if ! conf .SNS .Enabled && conf .Kafka .Enabled {
110+ logger .Info ("using Kafka notifier" )
108111 return buildKafkaNotifier (conf , logger )
109112 }
110113 // Multi Notifier
114+ logger .Info ("using multi notifier" )
111115 k , err := buildKafkaNotifier (conf , logger )
112116 if err != nil {
113117 return nil , err
You can’t perform that action at this time.
0 commit comments