This commit is contained in:
parent
5b763dc7b4
commit
9cdb96036f
@ -43,6 +43,7 @@ func main() {
|
|||||||
return context, nil
|
return context, nil
|
||||||
},
|
},
|
||||||
After: func(context context.Context, c *cli.Command) error {
|
After: func(context context.Context, c *cli.Command) error {
|
||||||
|
logger.Log("Starting cleanup")
|
||||||
logger.CloseLogFile()
|
logger.CloseLogFile()
|
||||||
return nil
|
return nil
|
||||||
},
|
},
|
||||||
|
|||||||
@ -132,6 +132,8 @@ func action(context context.Context, c *cli.Command) error {
|
|||||||
logger.Log("Slack targets found.")
|
logger.Log("Slack targets found.")
|
||||||
slack.Send(ar, priority)
|
slack.Send(ar, priority)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
logger.Log("Finished sending messages")
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user