mirror of
https://github.com/kairos-io/immucore.git
synced 2025-09-01 22:57:33 +00:00
Significantly drop logging
It was nice when things break all over but its much more stable now. Lets add logging with head and with proper enrichment of the data being sent Signed-off-by: Itxaka <itxaka@spectrocloud.com>
This commit is contained in:
@@ -67,15 +67,14 @@ Sends a generic event payload with the configuration found in the scanned direct
|
||||
return err
|
||||
}
|
||||
|
||||
log.Print(s.WriteDAG(g))
|
||||
log.Info().Msg(s.WriteDAG(g))
|
||||
|
||||
if c.Bool("dry-run") {
|
||||
return err
|
||||
}
|
||||
|
||||
log.Print("Calling dag")
|
||||
err = g.Run(context.Background())
|
||||
log.Print(s.WriteDAG(g))
|
||||
log.Info().Msg(s.WriteDAG(g))
|
||||
return err
|
||||
},
|
||||
},
|
||||
|
Reference in New Issue
Block a user